You are here

public function EntityViewEvent::setBuild in Hook Event Dispatcher 8

Set the build.

Parameters

array $build: The build.

Deprecated

This is not needed, this array is passed by reference.

File

src/Event/Entity/EntityViewEvent.php, line 74

Class

EntityViewEvent
Class EntityViewEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Entity

Code

public function setBuild(array $build) {
  $this->build = $build;
}