You are here

public function ViewsPostRenderEvent::__construct in Hook Event Dispatcher 8.2

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

ViewsPreExecuteEevent constructor.

Parameters

\Drupal\views\ViewExecutable $view: The view object about to be processed.

string $output: A flat string with the rendered output of the view.

\Drupal\views\Plugin\views\cache\CachePluginBase $cache: The cache settings.

Overrides AbstractViewsEvent::__construct

File

modules/views_event_dispatcher/src/Event/Views/ViewsPostRenderEvent.php, line 38

Class

ViewsPostRenderEvent
Class ViewsPostRenderEvent.

Namespace

Drupal\views_event_dispatcher\Event\Views

Code

public function __construct(ViewExecutable $view, &$output, CachePluginBase $cache) {
  parent::__construct($view);
  $this->output =& $output;
  $this->cache = $cache;
}