public function ViewsPreViewEvent::__construct in Hook Event Dispatcher 8.2
Same name and namespace in other branches
- 3.x modules/views_event_dispatcher/src/Event/Views/ViewsPreViewEvent.php \Drupal\views_event_dispatcher\Event\Views\ViewsPreViewEvent::__construct()
ViewsPreExecuteEevent constructor.
Parameters
\Drupal\views\ViewExecutable $view: The view object about to be processed.
string $displayId: The machine name of the active display.
array $arguments: An array of arguments passed into the view.
Overrides AbstractViewsEvent::__construct
File
- modules/
views_event_dispatcher/ src/ Event/ Views/ ViewsPreViewEvent.php, line 36
Class
- ViewsPreViewEvent
- Class ViewsPreRenderEvent.
Namespace
Drupal\views_event_dispatcher\Event\ViewsCode
public function __construct(ViewExecutable $view, $displayId, array &$arguments) {
parent::__construct($view);
$this->displayId = $displayId;
$this->arguments =& $arguments;
}