You are here

public function ViewsDataAlterEvent::setData in Hook Event Dispatcher 8

Set data.

Parameters

array $data: Data.

File

src/Event/Views/ViewsDataAlterEvent.php, line 47

Class

ViewsDataAlterEvent
Class ViewsDataAlterEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Views

Code

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