public function BaseViewsEvent::__construct in Hook Event Dispatcher 8
ViewsPreExecuteEevent constructor.
Parameters
\Drupal\views\ViewExecutable $view: The view.
3 calls to BaseViewsEvent::__construct()
- ViewsPostRenderEvent::__construct in src/
Event/ Views/ ViewsPostRenderEvent.php - ViewsPreExecuteEevent constructor.
- ViewsPreViewEvent::__construct in src/
Event/ Views/ ViewsPreViewEvent.php - ViewsPreExecuteEevent constructor.
- ViewsQueryAlterEvent::__construct in src/
Event/ Views/ ViewsQueryAlterEvent.php - ViewsPreExecuteEevent constructor.
3 methods override BaseViewsEvent::__construct()
- ViewsPostRenderEvent::__construct in src/
Event/ Views/ ViewsPostRenderEvent.php - ViewsPreExecuteEevent constructor.
- ViewsPreViewEvent::__construct in src/
Event/ Views/ ViewsPreViewEvent.php - ViewsPreExecuteEevent constructor.
- ViewsQueryAlterEvent::__construct in src/
Event/ Views/ ViewsQueryAlterEvent.php - ViewsPreExecuteEevent constructor.
File
- src/
Event/ Views/ BaseViewsEvent.php, line 27
Class
- BaseViewsEvent
- Class BaseViewsEvent.
Namespace
Drupal\hook_event_dispatcher\Event\ViewsCode
public function __construct(ViewExecutable $view) {
$this->view = $view;
}