. */ namespace SP\Modules\Web\Controllers\Plugin; use SP\Domain\Core\Acl\AclActionsInterface; use SP\Domain\Core\Exceptions\ConstraintException; use SP\Domain\Core\Exceptions\QueryException; /** * Class IndexController * * @package web\Controllers */ final class IndexController extends PluginSearchBase { /** * indexAction * * @throws ConstraintException * @throws QueryException */ public function indexAction(): void { if (!$this->acl->checkUserAccess(AclActionsInterface::PLUGIN)) { return; } $this->view->addTemplate('index'); $this->view->assign('data', $this->getSearchGrid()); $this->view(); } }