public static function TestEventSubscriberWithPriorities::getSubscribedEvents in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php \Drupal\Tests\Component\EventDispatcher\TestEventSubscriberWithPriorities::getSubscribedEvents()
- 10 core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php \Drupal\Tests\Component\EventDispatcher\TestEventSubscriberWithPriorities::getSubscribedEvents()
File
- core/
tests/ Drupal/ Tests/ Component/ EventDispatcher/ ContainerAwareEventDispatcherTest.php, line 582
Class
Namespace
Drupal\Tests\Component\EventDispatcherCode
public static function getSubscribedEvents() {
return [
'pre.foo' => [
'preFoo',
10,
],
'post.foo' => [
'postFoo',
],
];
}