You are here

public function ViewsDataAlterEvent::__construct in Hook Event Dispatcher 3.x

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

ViewsDataAlterEvent constructor.

Parameters

array $data: Data.

File

modules/views_event_dispatcher/src/Event/Views/ViewsDataAlterEvent.php, line 27

Class

ViewsDataAlterEvent
Class ViewsDataAlterEvent.

Namespace

Drupal\views_event_dispatcher\Event\Views

Code

public function __construct(array &$data) {
  $this->data =& $data;
}