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::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
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
RouteMatch::getRawParameter function core/lib/Drupal/Core/Routing/RouteMatch.php
RouteMatch::getRawParameters function core/lib/Drupal/Core/Routing/RouteMatch.php
RouteMatch::getRouteName function core/lib/Drupal/Core/Routing/RouteMatch.php
RouteMatch::getRouteObject function core/lib/Drupal/Core/Routing/RouteMatch.php
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 Tests Drupal\Core\Routing\RouteMatch.
RouteMatchTest.php file core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php
RouteMatchTest::getRouteMatch function core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php
RouteMatchTest::testRouteMatchFromRequest function core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php Tests route match from request.
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 Tests get parameter.
RouteMatchTestBase::testGetParameters function core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php Tests get parameters.
RouteMatchTestBase::testGetRawParameter function core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php Tests get raw parameter.
RouteMatchTestBase::testGetRawParameters function core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php Tests get raw parameters.
RouteMatchTestBase::testGetRouteName function core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php Tests get route name.
RouteMatchTestBase::testGetRouteObject function core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php Tests get route object.
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.
Router::match function core/lib/Drupal/Core/Routing/Router.php
Router::matchCollection function core/lib/Drupal/Core/Routing/Router.php
Router::matchRequest function core/lib/Drupal/Core/Routing/Router.php
RouterTest::testMatchesWithDifferentFitOrder function core/tests/Drupal/Tests/Core/Routing/RouterTest.php Tests matches with different fit order.
RouterTest::testRouterMatching function core/modules/system/tests/src/Functional/Routing/RouterTest.php Tests that a page trying to match a path will succeed.

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