You are here

public function ToolbarAlterEvent::getItems in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x modules/toolbar_event_dispatcher/src/Event/Toolbar/ToolbarAlterEvent.php \Drupal\toolbar_event_dispatcher\Event\Toolbar\ToolbarAlterEvent::getItems()

Get the items by reference.

Return value

array The items.

File

modules/toolbar_event_dispatcher/src/Event/Toolbar/ToolbarAlterEvent.php, line 37

Class

ToolbarAlterEvent
Class ToolbarAlterEvent.

Namespace

Drupal\toolbar_event_dispatcher\Event\Toolbar

Code

public function &getItems() : array {
  return $this->items;
}