ToolbarEvent.php in Hook Event Dispatcher 8.2
Same filename and directory in other branches
File
modules/toolbar_event_dispatcher/src/Event/Toolbar/ToolbarEvent.phpView source
<?php
namespace Drupal\toolbar_event_dispatcher\Event\Toolbar;
use Drupal\hook_event_dispatcher\Event\EventInterface;
use Drupal\hook_event_dispatcher\HookEventDispatcherInterface;
use Symfony\Component\EventDispatcher\Event;
/**
* Class ToolbarEvent.
*/
final class ToolbarEvent extends Event implements EventInterface {
/**
* {@inheritdoc}
*/
public function getDispatcherType() : string {
return HookEventDispatcherInterface::TOOLBAR;
}
}
Classes
Name | Description |
---|---|
ToolbarEvent | Class ToolbarEvent. |