abstract protected function RouteMatchTestBase::getRouteMatch in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php \Drupal\Tests\Core\Routing\RouteMatchTestBase::getRouteMatch()
Build a test route match object for the given implementation.
Parameters
$name: Route name.
Route $route: Request object
array $parameters: Parameters array
$raw_parameters: Raw parameters array
Return value
\Drupal\Core\Routing\RouteMatchInterface
1 call to RouteMatchTestBase::getRouteMatch()
- RouteMatchTestBase::routeMatchProvider in core/
tests/ Drupal/ Tests/ Core/ Routing/ RouteMatchTestBase.php - Provide sets of parameters and expected parameters for parameter tests.
2 methods override RouteMatchTestBase::getRouteMatch()
- CurrentRouteMatchTest::getRouteMatch in core/
tests/ Drupal/ Tests/ Core/ Routing/ CurrentRouteMatchTest.php - Build a test route match object for the given implementation.
- RouteMatchTest::getRouteMatch in core/
tests/ Drupal/ Tests/ Core/ Routing/ RouteMatchTest.php - Build a test route match object for the given implementation.
File
- core/
tests/ Drupal/ Tests/ Core/ Routing/ RouteMatchTestBase.php, line 32 - Contains \Drupal\Tests\Core\Routing\RouteMatchTestBase.
Class
- RouteMatchTestBase
- Base test class for testing classes implementing the route match interface.
Namespace
Drupal\Tests\Core\RoutingCode
protected abstract function getRouteMatch($name, Route $route, array $parameters, array $raw_parameters);