Search for match

  1. Search 7.x for match
  2. Search 9.5.x for match
  3. Search 8.9.x for match
  4. Search 10.3.x for match
  5. Other projects
Title Object type File name Summary
RouteMatch.php file core/lib/Drupal/Core/Routing/RouteMatch.php
RouteMatch::$parameters property core/lib/Drupal/Core/Routing/RouteMatch.php A key|value store of parameters.
RouteMatch::$rawParameters property core/lib/Drupal/Core/Routing/RouteMatch.php A key|value store of raw parameters.
RouteMatch::$route property core/lib/Drupal/Core/Routing/RouteMatch.php The route.
RouteMatch::$routeName property core/lib/Drupal/Core/Routing/RouteMatch.php The route name.
RouteMatch::createFromRequest function core/lib/Drupal/Core/Routing/RouteMatch.php Creates a RouteMatch from a request.
RouteMatch::getParameter function core/lib/Drupal/Core/Routing/RouteMatch.php Returns the processed value of a named route parameter.
RouteMatch::getParameterNames function core/lib/Drupal/Core/Routing/RouteMatch.php Returns the names of all parameters for the currently matched route.
RouteMatch::getParameters function core/lib/Drupal/Core/Routing/RouteMatch.php Returns the bag of all processed route parameters.
RouteMatch::getRawParameter function core/lib/Drupal/Core/Routing/RouteMatch.php Returns the raw value of a named route parameter.
RouteMatch::getRawParameters function core/lib/Drupal/Core/Routing/RouteMatch.php Returns the bag of all raw route parameters.
RouteMatch::getRouteName function core/lib/Drupal/Core/Routing/RouteMatch.php Returns the route name.
RouteMatch::getRouteObject function core/lib/Drupal/Core/Routing/RouteMatch.php Returns the route object.
RouteMatch::__construct function core/lib/Drupal/Core/Routing/RouteMatch.php Constructs a RouteMatch object.
RouteMatchInterface interface core/lib/Drupal/Core/Routing/RouteMatchInterface.php Provides an interface for classes representing the result of routing.
RouteMatchInterface.php file core/lib/Drupal/Core/Routing/RouteMatchInterface.php
RouteMatchInterface::getParameter function core/lib/Drupal/Core/Routing/RouteMatchInterface.php Returns the processed value of a named route parameter.
RouteMatchInterface::getParameters function core/lib/Drupal/Core/Routing/RouteMatchInterface.php Returns the bag of all processed route parameters.
RouteMatchInterface::getRawParameter function core/lib/Drupal/Core/Routing/RouteMatchInterface.php Returns the raw value of a named route parameter.
RouteMatchInterface::getRawParameters function core/lib/Drupal/Core/Routing/RouteMatchInterface.php Returns the bag of all raw route parameters.
RouteMatchInterface::getRouteName function core/lib/Drupal/Core/Routing/RouteMatchInterface.php Returns the route name.
RouteMatchInterface::getRouteObject function core/lib/Drupal/Core/Routing/RouteMatchInterface.php Returns the route object.
RouteMatchTest class core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php @coversDefaultClass \Drupal\Core\Routing\RouteMatch
@group Routing
RouteMatchTest.php file core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php
RouteMatchTest::getRouteMatch function core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php Build a test route match object for the given implementation.
RouteMatchTest::testRouteMatchFromRequest function core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php @covers ::createFromRequest
@covers ::__construct
RouteMatchTestBase class core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php Base test class for testing classes implementing the route match interface.
RouteMatchTestBase.php file core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php
RouteMatchTestBase::getRouteMatch function core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php Build a test route match object for the given implementation.
RouteMatchTestBase::routeMatchProvider function core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php Provide sets of parameters and expected parameters for parameter tests.
RouteMatchTestBase::testGetParameter function core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php @covers ::getParameter
@covers \Drupal\Core\Routing\RouteMatch::getParameterNames
@dataProvider routeMatchProvider
RouteMatchTestBase::testGetParameters function core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php @covers ::getParameters
@covers \Drupal\Core\Routing\RouteMatch::getParameterNames
@dataProvider routeMatchProvider
RouteMatchTestBase::testGetRawParameter function core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php @covers ::getRawParameter
@covers \Drupal\Core\Routing\RouteMatch::getParameterNames
@dataProvider routeMatchProvider
RouteMatchTestBase::testGetRawParameters function core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php @covers ::getRawParameters
@covers \Drupal\Core\Routing\RouteMatch::getParameterNames
@dataProvider routeMatchProvider
RouteMatchTestBase::testGetRouteName function core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php @covers ::getRouteName
@dataProvider routeMatchProvider
RouteMatchTestBase::testGetRouteObject function core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php @covers ::getRouteObject
@dataProvider routeMatchProvider
RouteMatchValueResolver class core/lib/Drupal/Core/Controller/ArgumentResolver/RouteMatchValueResolver.php Yields a RouteMatch object based on the request object passed along.
RouteMatchValueResolver.php file core/lib/Drupal/Core/Controller/ArgumentResolver/RouteMatchValueResolver.php
RouteMatchValueResolver::resolve function core/lib/Drupal/Core/Controller/ArgumentResolver/RouteMatchValueResolver.php
RouteProcessorCurrent::$routeMatch property core/lib/Drupal/Core/RouteProcessor/RouteProcessorCurrent.php The current route match.
RouteProviderTest::testExactPathMatch function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Confirms that we can find routes with the exact incoming path.
RouteProviderTest::testOutlinePathMatch function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Confirms that we can find routes whose pattern would match the request.
RouteProviderTest::testOutlinePathMatchDefaults function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Confirms that we can find routes whose pattern would match the request.
RouteProviderTest::testOutlinePathMatchDefaultsCollision function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Confirms that we can find routes whose pattern would match the request.
RouteProviderTest::testOutlinePathMatchDefaultsCollision2 function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Confirms that we can find routes whose pattern would match the request.
RouteProviderTest::testOutlinePathMatchDefaultsCollision3 function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Confirms that we can find multiple routes that match the request equally.
RouteProviderTest::testOutlinePathMatchTrailingSlash function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Confirms that a trailing slash on the request does not result in a 404.
RouteProviderTest::testOutlinePathMatchZero function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Tests a route with a 0 as value.
RouteProviderTest::testOutlinePathNoMatch function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Confirms that an exception is thrown when no matching path is found.
Router::doMatchCollection function core/lib/Drupal/Core/Routing/Router.php Tries to match a URL with a set of routes.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.