final class CronEvent in Hook Event Dispatcher 8
Class CronEvent.
Hierarchy
- class \Drupal\hook_event_dispatcher\Event\Cron\CronEvent extends \Symfony\Component\EventDispatcher\Event implements EventInterface
Expanded class hierarchy of CronEvent
2 files declare their use of CronEvent
- CronEventTest.php in tests/
src/ Unit/ Cron/ CronEventTest.php - hook_event_dispatcher.module in ./
hook_event_dispatcher.module - Hook event dispatcher module.
File
- src/
Event/ Cron/ CronEvent.php, line 12
Namespace
Drupal\hook_event_dispatcher\Event\CronView source
final class CronEvent extends Event implements EventInterface {
/**
* Get the dispatcher type.
*
* @return string
* The dispatcher type.
*/
public function getDispatcherType() {
return HookEventDispatcherInterface::CRON;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CronEvent:: |
public | function |
Get the dispatcher type. Overrides EventInterface:: |