You are here

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

Same name and namespace in other branches
  1. 8.2 modules/core_event_dispatcher/src/Event/Theme/PageTopEvent.php \Drupal\core_event_dispatcher\Event\Theme\PageTopEvent::__construct()

PageTopEvent constructor.

Parameters

array $build: The build array.

File

modules/core_event_dispatcher/src/Event/Theme/PageTopEvent.php, line 27

Class

PageTopEvent
Class PageTopEvent.

Namespace

Drupal\core_event_dispatcher\Event\Theme

Code

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