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
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 Tests without matching routes.
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
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.
PathMatcher::$routeMatch property core/lib/Drupal/Core/Path/PathMatcher.php The current route match.
PathMatcher::getFrontPagePath function core/lib/Drupal/Core/Path/PathMatcher.php Gets the current front page path.
PathMatcher::isFrontPage function core/lib/Drupal/Core/Path/PathMatcher.php Checks if the current page is the front page.
PathMatcher::matchPath function core/lib/Drupal/Core/Path/PathMatcher.php Checks if a path matches any pattern in a set of patterns.
PathMatcher::__construct function core/lib/Drupal/Core/Path/PathMatcher.php Creates a new PathMatcher.
PathMatcherInterface interface core/lib/Drupal/Core/Path/PathMatcherInterface.php Provides an interface for URL path matchers.
PathMatcherInterface.php file core/lib/Drupal/Core/Path/PathMatcherInterface.php
PathMatcherInterface::isFrontPage function core/lib/Drupal/Core/Path/PathMatcherInterface.php Checks if the current page is the front page.
PathMatcherInterface::matchPath function core/lib/Drupal/Core/Path/PathMatcherInterface.php Checks if a path matches any pattern in a set of patterns.
PathMatcherTest class core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php Tests Drupal\Core\Path\PathMatcher.
PathMatcherTest.php file core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php
PathMatcherTest::$pathMatcher property core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php The path matcher under test.
PathMatcherTest::getMatchPathData function core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php Provides test path data.
PathMatcherTest::setUp function core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php
PathMatcherTest::testMatchPath function core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php Tests that standard paths works with multiple patterns.
PhpSelection::matchLabel function core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/PhpSelection.php Matches an entity label to an input string.
ResettableStackedRouteMatchInterface interface core/lib/Drupal/Core/Routing/ResettableStackedRouteMatchInterface.php Defines an interface for a resettable stack of route matches.
ResettableStackedRouteMatchInterface.php file core/lib/Drupal/Core/Routing/ResettableStackedRouteMatchInterface.php
ResettableStackedRouteMatchInterface::resetRouteMatch function core/lib/Drupal/Core/Routing/ResettableStackedRouteMatchInterface.php Resets the route match static cache.
RevisionDeleteForm::getEntityFromRouteMatch function core/lib/Drupal/Core/Entity/Form/RevisionDeleteForm.php Determines which entity will be used by this form from a RouteMatch object.
RevisionRevertForm::getEntityFromRouteMatch function core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php Determines which entity will be used by this form from a RouteMatch object.
RouteCacheContext::$routeMatch property core/lib/Drupal/Core/Cache/Context/RouteCacheContext.php The route match.
RouteMatch class core/lib/Drupal/Core/Routing/RouteMatch.php Default object representing the results of routing.
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.

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