You are here

public function BaseBlockEvent::setBuild in Hook Event Dispatcher 8

Set the block.

Parameters

array $build: The build array.

Deprecated

This is not needed, the form is passed by reference.

File

src/Event/Block/BaseBlockEvent.php, line 58

Class

BaseBlockEvent
Class BaseBlockEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Block

Code

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