You are here

final class CronEvent in Hook Event Dispatcher 3.x

Same name and namespace in other branches
  1. 8.2 modules/core_event_dispatcher/src/Event/Core/CronEvent.php \Drupal\core_event_dispatcher\Event\Core\CronEvent

Class CronEvent.

Hierarchy

  • class \Drupal\core_event_dispatcher\Event\Core\CronEvent extends \Symfony\Component\EventDispatcher\Event implements EventInterface

Expanded class hierarchy of CronEvent

2 files declare their use of CronEvent
core_event_dispatcher.module in modules/core_event_dispatcher/core_event_dispatcher.module
Core event dispatcher submodule.
CronEventTest.php in modules/core_event_dispatcher/tests/src/Unit/Core/CronEventTest.php

File

modules/core_event_dispatcher/src/Event/Core/CronEvent.php, line 12

Namespace

Drupal\core_event_dispatcher\Event\Core
View source
final class CronEvent extends Event implements EventInterface {

  /**
   * Get the dispatcher type.
   *
   * @return string
   *   The dispatcher type.
   */
  public function getDispatcherType() : string {
    return HookEventDispatcherInterface::CRON;
  }

}

Members