You are here

public function ExampleViewsEventSubscribers::postExecute in Hook Event Dispatcher 8

Post execute event handler.

Parameters

\Drupal\hook_event_dispatcher\Event\Views\ViewsPostExecuteEvent $event: The event.

File

src/Example/ExampleViewsEventSubscribers.php, line 114

Class

ExampleViewsEventSubscribers
Class ExampleViewsEventSubscribers.

Namespace

Drupal\hook_event_dispatcher\Example

Code

public function postExecute(ViewsPostExecuteEvent $event) {
  $view = $event
    ->getView();

  // Do something with the view.
  $view->build_info;
}