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
MatcherDumperTest::$state property core/tests/Drupal/KernelTests/Core/Routing/MatcherDumperTest.php The state.
MatcherDumperTest::setUp function core/tests/Drupal/KernelTests/Core/Routing/MatcherDumperTest.php
MatcherDumperTest::testAddAdditionalRoutes function core/tests/Drupal/KernelTests/Core/Routing/MatcherDumperTest.php Confirms that we can add routes to the dumper when it already has some.
MatcherDumperTest::testAddRoutes function core/tests/Drupal/KernelTests/Core/Routing/MatcherDumperTest.php Confirms that we can add routes to the dumper.
MatcherDumperTest::testCreate function core/tests/Drupal/KernelTests/Core/Routing/MatcherDumperTest.php Confirms that the dumper can be instantiated successfully.
MatcherDumperTest::testDump function core/tests/Drupal/KernelTests/Core/Routing/MatcherDumperTest.php Confirm that we can dump a route collection to the database.
MatcherDumperTest::testMenuMasksGeneration function core/tests/Drupal/KernelTests/Core/Routing/MatcherDumperTest.php Tests the determination of the masks generation.
MatchingRouteNotFoundException class core/lib/Drupal/Core/Routing/MatchingRouteNotFoundException.php No matching route was found.
MatchingRouteNotFoundException.php file core/lib/Drupal/Core/Routing/MatchingRouteNotFoundException.php
MenuActiveTrail::$routeMatch property core/lib/Drupal/Core/Menu/MenuActiveTrail.php The route match object for the current page.
MenuActiveTrailTest::$currentRouteMatch property core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php The current route match service.
MenuTestController::$routeMatch property core/modules/system/tests/modules/menu_test/src/Controller/MenuTestController.php The active route match.
MethodFilterTest::testWithAllowedMethodAndMultipleMatchingRoutes function core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php @covers ::filter
MockController::getControllerWithRequestAndRouteMatch function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockControllerPsr7::getControllerWithRequestAndRouteMatch function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockMatcher class core/modules/system/tests/src/Functional/Routing/MockMatcher.php A mock matcher that can be configured with any matching logic for testing.
MockMatcher.php file core/modules/system/tests/src/Functional/Routing/MockMatcher.php
MockMatcher::$matcher property core/modules/system/tests/src/Functional/Routing/MockMatcher.php The matcher being tested.
MockMatcher::matchRequest function core/modules/system/tests/src/Functional/Routing/MockMatcher.php
MockMatcher::__construct function core/modules/system/tests/src/Functional/Routing/MockMatcher.php Constructs a MockMatcher object.
Node::$routeMatch property core/modules/node/src/Plugin/views/argument_default/Node.php The route match.
NodeRouteContext::$routeMatch property core/modules/node/src/ContextProvider/NodeRouteContext.php The route match object.
NullMatcherDumper class core/lib/Drupal/Core/Routing/NullMatcherDumper.php Does not dump Route information.
NullMatcherDumper.php file core/lib/Drupal/Core/Routing/NullMatcherDumper.php
NullMatcherDumper::$routes property core/lib/Drupal/Core/Routing/NullMatcherDumper.php The routes to be dumped.
NullMatcherDumper::addRoutes function core/lib/Drupal/Core/Routing/NullMatcherDumper.php Adds additional routes to be dumped.
NullMatcherDumper::dump function core/lib/Drupal/Core/Routing/NullMatcherDumper.php Dumps a set of routes to the router table in the database.
NullMatcherDumper::getRoutes function core/lib/Drupal/Core/Routing/NullMatcherDumper.php Gets the routes to match.
NullRouteMatch class core/lib/Drupal/Core/Routing/NullRouteMatch.php Stub implementation of RouteMatchInterface for when there's no matched route.
NullRouteMatch.php file core/lib/Drupal/Core/Routing/NullRouteMatch.php
NullRouteMatch::getParameter function core/lib/Drupal/Core/Routing/NullRouteMatch.php Returns the processed value of a named route parameter.
NullRouteMatch::getParameters function core/lib/Drupal/Core/Routing/NullRouteMatch.php Returns the bag of all processed route parameters.
NullRouteMatch::getRawParameter function core/lib/Drupal/Core/Routing/NullRouteMatch.php Returns the raw value of a named route parameter.
NullRouteMatch::getRawParameters function core/lib/Drupal/Core/Routing/NullRouteMatch.php Returns the bag of all raw route parameters.
NullRouteMatch::getRouteName function core/lib/Drupal/Core/Routing/NullRouteMatch.php Returns the route name.
NullRouteMatch::getRouteObject function core/lib/Drupal/Core/Routing/NullRouteMatch.php Returns the route object.
OptionsRequestSubscriberTest::testWithoutMatchingRoutes function core/tests/Drupal/Tests/Core/EventSubscriber/OptionsRequestSubscriberTest.php @covers ::onRequest
PageDisplayVariantSelectionEvent::$routeMatch property core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php The current route match.
PageDisplayVariantSelectionEvent::getRouteMatch function core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php Gets the current route match.
path.matcher service core/core.services.yml Drupal\Core\Path\PathMatcher
PathBasedBreadcrumbBuilder::$pathMatcher property core/modules/system/src/PathBasedBreadcrumbBuilder.php The patch matcher service.
PathBasedBreadcrumbBuilderTest::$pathMatcher property core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php The mocked path matcher service.
PathBasedBreadcrumbBuilderTest::$requestMatcher property core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php The request matching mock object.
PathElement::validateMatchedPath function core/lib/Drupal/Core/Render/Element/PathElement.php Form element validation handler for matched_path elements.
PathMatcher class core/lib/Drupal/Core/Path/PathMatcher.php Provides a path matcher.
PathMatcher.php file core/lib/Drupal/Core/Path/PathMatcher.php
PathMatcher::$configFactory property core/lib/Drupal/Core/Path/PathMatcher.php The config factory service.
PathMatcher::$frontPage property core/lib/Drupal/Core/Path/PathMatcher.php The default front page.
PathMatcher::$isCurrentFrontPage property core/lib/Drupal/Core/Path/PathMatcher.php Whether the current page is the front page.
PathMatcher::$regexes property core/lib/Drupal/Core/Path/PathMatcher.php The cache of regular expressions.

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