public function ToolbarAlterEvent::__construct in Hook Event Dispatcher 8.2
Same name and namespace in other branches
- 3.x modules/toolbar_event_dispatcher/src/Event/Toolbar/ToolbarAlterEvent.php \Drupal\toolbar_event_dispatcher\Event\Toolbar\ToolbarAlterEvent::__construct()
ToolbarAlterEvent constructor.
Parameters
array $items: The toolbar items.
File
- modules/
toolbar_event_dispatcher/ src/ Event/ Toolbar/ ToolbarAlterEvent.php, line 27
Class
- ToolbarAlterEvent
- Class ToolbarAlterEvent.
Namespace
Drupal\toolbar_event_dispatcher\Event\ToolbarCode
public function __construct(array &$items) {
$this->items =& $items;
}