Search for match

  1. Search 7.x for match
  2. Search 8.9.x for match
  3. Search 10.3.x for match
  4. Search 11.x for match
  5. Other projects
Title Object type File name Summary
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
RouteMatchValueResolver::supports 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 Tries to match a URL with a set of routes.
Router::matchRequest function core/lib/Drupal/Core/Routing/Router.php
RouterTest::testMatchesWithDifferentFitOrder function core/tests/Drupal/Tests/Core/Routing/RouterTest.php @covers ::applyFitOrder
RouterTest::testRouterMatching function core/modules/system/tests/src/Functional/Routing/RouterTest.php Tests that a page trying to match a path will succeed.
SearchMatchTest class core/modules/search/tests/src/Kernel/SearchMatchTest.php Indexes content and queries it.
SearchMatchTest.php file core/modules/search/tests/src/Kernel/SearchMatchTest.php
SearchMatchTest::$modules property core/modules/search/tests/src/Kernel/SearchMatchTest.php Modules to enable.
SearchMatchTest::getText function core/modules/search/tests/src/Kernel/SearchMatchTest.php _test_: Helper method for generating snippets of content.
SearchMatchTest::getText2 function core/modules/search/tests/src/Kernel/SearchMatchTest.php _test2_: Helper method for generating snippets of content.

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