final class ToolbarEvent in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 modules/toolbar_event_dispatcher/src/Event/Toolbar/ToolbarEvent.php \Drupal\toolbar_event_dispatcher\Event\Toolbar\ToolbarEvent
Class ToolbarEvent.
Hierarchy
- class \Drupal\toolbar_event_dispatcher\Event\Toolbar\ToolbarEvent extends \Symfony\Component\EventDispatcher\Event implements EventInterface
Expanded class hierarchy of ToolbarEvent
2 files declare their use of ToolbarEvent
- ToolbarEventTest.php in modules/
toolbar_event_dispatcher/ tests/ src/ Unit/ Toolbar/ ToolbarEventTest.php - toolbar_event_dispatcher.module in modules/
toolbar_event_dispatcher/ toolbar_event_dispatcher.module - Toolbar event dispatcher submodule.
File
- modules/
toolbar_event_dispatcher/ src/ Event/ Toolbar/ ToolbarEvent.php, line 12
Namespace
Drupal\toolbar_event_dispatcher\Event\ToolbarView source
final class ToolbarEvent extends Event implements EventInterface {
/**
* {@inheritdoc}
*/
public function getDispatcherType() : string {
return HookEventDispatcherInterface::TOOLBAR;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ToolbarEvent:: |
public | function |
Get the dispatcher type. Overrides EventInterface:: |