Search for match

  1. Search 7.x for match
  2. Search 9.5.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
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.
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 @coversDefaultClass \Drupal\Core\Path\PathMatcher
@group Path
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 Test 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.
Phpunit4CompatibilityTest::testFrameworkMockObjectMatcherInvokedRecorder function core/tests/Drupal/Tests/Phpunit4CompatibilityTest.php Tests existence of \PHPUnit_Framework_MockObject_Matcher_InvokedRecorder.
QueryTest::match function core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/QueryTest.php Check a single condition for a single element.
RequestPath::$pathMatcher property core/modules/system/src/Plugin/Condition/RequestPath.php The path matcher.
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.
ResolvedLibraryDefinitionsFilesMatchTest class core/tests/Drupal/KernelTests/Core/Asset/ResolvedLibraryDefinitionsFilesMatchTest.php Tests that the asset files for all core libraries exist.
ResolvedLibraryDefinitionsFilesMatchTest.php file core/tests/Drupal/KernelTests/Core/Asset/ResolvedLibraryDefinitionsFilesMatchTest.php
ResolvedLibraryDefinitionsFilesMatchTest::$allModules property core/tests/Drupal/KernelTests/Core/Asset/ResolvedLibraryDefinitionsFilesMatchTest.php A list of all core modules.
ResolvedLibraryDefinitionsFilesMatchTest::$allThemes property core/tests/Drupal/KernelTests/Core/Asset/ResolvedLibraryDefinitionsFilesMatchTest.php A list of all core themes.
ResolvedLibraryDefinitionsFilesMatchTest::$librariesToSkip property core/tests/Drupal/KernelTests/Core/Asset/ResolvedLibraryDefinitionsFilesMatchTest.php A list of libraries to skip checking, in the format extension/library_name.

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