You are here

class EventSubscriber in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/event-dispatcher/Tests/Debug/TraceableEventDispatcherTest.php \Symfony\Component\EventDispatcher\Tests\Debug\EventSubscriber
  2. 8 core/modules/config/tests/config_import_test/src/EventSubscriber.php \Drupal\config_import_test\EventSubscriber
  3. 8 core/modules/config/tests/config_collection_install_test/src/EventSubscriber.php \Drupal\config_collection_install_test\EventSubscriber
  4. 8 core/modules/config/tests/config_events_test/src/EventSubscriber.php \Drupal\config_events_test\EventSubscriber
Same name and namespace in other branches
  1. 8.0 vendor/symfony/event-dispatcher/Tests/Debug/TraceableEventDispatcherTest.php \Symfony\Component\EventDispatcher\Tests\Debug\EventSubscriber

Hierarchy

Expanded class hierarchy of EventSubscriber

File

vendor/symfony/event-dispatcher/Tests/Debug/TraceableEventDispatcherTest.php, line 193

Namespace

Symfony\Component\EventDispatcher\Tests\Debug
View source
class EventSubscriber implements EventSubscriberInterface {
  public static function getSubscribedEvents() {
    return array(
      'foo' => 'call',
    );
  }

}

Members

Namesort descending Modifiers Type Description Overrides
EventSubscriber::getSubscribedEvents public static function Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface::getSubscribedEvents