You are here

public function AbstractViewsEvent::__construct in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x modules/views_event_dispatcher/src/Event/Views/AbstractViewsEvent.php \Drupal\views_event_dispatcher\Event\Views\AbstractViewsEvent::__construct()

AbstractViewsEvent constructor.

Parameters

\Drupal\views\ViewExecutable $view: The view.

3 calls to AbstractViewsEvent::__construct()
ViewsPostRenderEvent::__construct in modules/views_event_dispatcher/src/Event/Views/ViewsPostRenderEvent.php
ViewsPreExecuteEevent constructor.
ViewsPreViewEvent::__construct in modules/views_event_dispatcher/src/Event/Views/ViewsPreViewEvent.php
ViewsPreExecuteEevent constructor.
ViewsQueryAlterEvent::__construct in modules/views_event_dispatcher/src/Event/Views/ViewsQueryAlterEvent.php
ViewsPreExecuteEevent constructor.
3 methods override AbstractViewsEvent::__construct()
ViewsPostRenderEvent::__construct in modules/views_event_dispatcher/src/Event/Views/ViewsPostRenderEvent.php
ViewsPreExecuteEevent constructor.
ViewsPreViewEvent::__construct in modules/views_event_dispatcher/src/Event/Views/ViewsPreViewEvent.php
ViewsPreExecuteEevent constructor.
ViewsQueryAlterEvent::__construct in modules/views_event_dispatcher/src/Event/Views/ViewsQueryAlterEvent.php
ViewsPreExecuteEevent constructor.

File

modules/views_event_dispatcher/src/Event/Views/AbstractViewsEvent.php, line 27

Class

AbstractViewsEvent
Class AbstractViewsEvent.

Namespace

Drupal\views_event_dispatcher\Event\Views

Code

public function __construct(ViewExecutable $view) {
  $this->view = $view;
}