public function ViewsPostRenderEvent::__construct in Hook Event Dispatcher 8
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 BaseViewsEvent::__construct
File
- src/
Event/ Views/ ViewsPostRenderEvent.php, line 38
Class
- ViewsPostRenderEvent
- Class ViewsPostRenderEvent.
Namespace
Drupal\hook_event_dispatcher\Event\ViewsCode
public function __construct(ViewExecutable $view, &$output, CachePluginBase $cache) {
parent::__construct($view);
$this->output =& $output;
$this->cache = $cache;
}