function RouteBuilderTest::onRouteAlter
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php \Drupal\Tests\Core\Routing\RouteBuilderTest::onRouteAlter()
File
-
core/
tests/ Drupal/ Tests/ Core/ Routing/ RouteBuilderTest.php, line 381
Class
Namespace
Drupal\Tests\Core\RoutingCode
public function onRouteAlter(RouteBuildEvent $event) : void {
$this->alterFired = TRUE;
$this->assertEquals($event->getRouteCollection(), $this->expectedRouteCollection);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.