You are here

public function AbstractViewsEvent::getView 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::getView()

Get the view.

Return value

\Drupal\views\ViewExecutable The view.

File

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

Class

AbstractViewsEvent
Class AbstractViewsEvent.

Namespace

Drupal\views_event_dispatcher\Event\Views

Code

public function getView() : ViewExecutable {
  return $this->view;
}