function RouteBuilderTest::getSubscribedEvents
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php \Drupal\Tests\Core\Routing\RouteBuilderTest::getSubscribedEvents()
File
-
core/
tests/ Drupal/ Tests/ Core/ Routing/ RouteBuilderTest.php, line 386
Class
Namespace
Drupal\Tests\Core\RoutingCode
public static function getSubscribedEvents() : array {
$events[RoutingEvents::DYNAMIC] = [
'onRouteDynamic',
];
$events[RoutingEvents::ALTER] = [
'onRouteAlter',
];
return $events;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.