function RouteBuilderTest::onRouteDynamic

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php \Drupal\Tests\Core\Routing\RouteBuilderTest::onRouteDynamic()

File

core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php, line 376

Class

RouteBuilderTest
Tests Drupal\Core\Routing\RouteBuilder.

Namespace

Drupal\Tests\Core\Routing

Code

public function onRouteDynamic(RouteBuildEvent $event) : void {
  $this->dynamicFired = 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.