You are here

public function ToolbarAlterEvent::setItems in Hook Event Dispatcher 8

Set the items.

Parameters

array $items: The items.

File

src/Event/Toolbar/ToolbarAlterEvent.php, line 47

Class

ToolbarAlterEvent
Class ToolbarAlterEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Toolbar

Code

public function setItems(array $items) {
  $this->items = $items;
}