class TestEventSubscriberWithMultipleListeners
Same name in other branches
- 9 core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php \Drupal\Tests\Component\EventDispatcher\TestEventSubscriberWithMultipleListeners
- 8.9.x core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php \Drupal\Tests\Component\EventDispatcher\TestEventSubscriberWithMultipleListeners
- 10 core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php \Drupal\Tests\Component\EventDispatcher\TestEventSubscriberWithMultipleListeners
Hierarchy
- class \Drupal\Tests\Component\EventDispatcher\TestEventSubscriberWithMultipleListeners implements \Symfony\Component\EventDispatcher\EventSubscriberInterface
Expanded class hierarchy of TestEventSubscriberWithMultipleListeners
File
-
core/
tests/ Drupal/ Tests/ Component/ EventDispatcher/ ContainerAwareEventDispatcherTest.php, line 616
Namespace
Drupal\Tests\Component\EventDispatcherView source
class TestEventSubscriberWithMultipleListeners implements EventSubscriberInterface {
public static function getSubscribedEvents() : array {
return [
'pre.foo' => [
[
'preFoo1',
],
[
'preFoo2',
10,
],
],
];
}
}
Members
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.