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
ContentPreprocessTest::setupCurrentRouteMatch function core/modules/content_moderation/tests/src/Unit/ContentPreprocessTest.php Mock the current route matching object.
ContentTypeHeaderMatcher class core/lib/Drupal/Core/Routing/ContentTypeHeaderMatcher.php Filters routes based on the HTTP Content-type header.
ContentTypeHeaderMatcher.php file core/lib/Drupal/Core/Routing/ContentTypeHeaderMatcher.php
ContentTypeHeaderMatcher::filter function core/lib/Drupal/Core/Routing/ContentTypeHeaderMatcher.php
ContentTypeHeaderMatcherTest class core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php Confirm that the content types partial matcher is functioning properly.
ContentTypeHeaderMatcherTest.php file core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php
ContentTypeHeaderMatcherTest::$fixtures property core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php A collection of shared fixture data for tests.
ContentTypeHeaderMatcherTest::$matcher property core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php The matcher object that is going to be tested.
ContentTypeHeaderMatcherTest::providerTestSafeRequestFilter function core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php
ContentTypeHeaderMatcherTest::setUp function core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php
ContentTypeHeaderMatcherTest::testContentTypeRequestHeaderMissing function core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php Confirms that the matcher throws an exception for missing request header.
ContentTypeHeaderMatcherTest::testJsonRequest function core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php Tests that XML-restricted routes get filtered out on JSON requests.
ContentTypeHeaderMatcherTest::testNoRouteFound function core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php Confirms that the matcher throws an exception for no-route.
ContentTypeHeaderMatcherTest::testPostForm function core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php Tests route filtering on POST form submission requests.
ContentTypeHeaderMatcherTest::testSafeRequestFilter function core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php Tests that routes are not filtered on safe requests.
content_type_header_matcher service core/core.services.yml Drupal\Core\Routing\ContentTypeHeaderMatcher
ContextDefinition::dataTypeMatches function core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Checks if this definition's data type matches that of the given context.
ContextHandler::getMatchingContexts function core/lib/Drupal/Core/Plugin/Context/ContextHandler.php Determines which contexts satisfy the constraints of a given definition.
ContextHandlerInterface::getMatchingContexts function core/lib/Drupal/Core/Plugin/Context/ContextHandlerInterface.php Determines which contexts satisfy the constraints of a given definition.
ContextHandlerTest::providerTestGetMatchingContexts function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php Provides data for testGetMatchingContexts().
ContextHandlerTest::testGetMatchingContexts function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::getMatchingContexts
ControllerResolverTest::testGetArgumentsWithRouteMatchAndPsr7Request function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php Tests getArguments with a route match and a PSR-7 request.
ControllerResolverTest::testGetArgumentsWithRouteMatchAndRequest function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php Tests getArguments with a route match and a request.
CsrfAccessCheckTest::$routeMatch property core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php The mock route match.
CurrentRouteMatch class core/lib/Drupal/Core/Routing/CurrentRouteMatch.php Default object for current_route_match service.
CurrentRouteMatch.php file core/lib/Drupal/Core/Routing/CurrentRouteMatch.php
CurrentRouteMatch::$requestStack property core/lib/Drupal/Core/Routing/CurrentRouteMatch.php The related request stack.
CurrentRouteMatch::$routeMatches property core/lib/Drupal/Core/Routing/CurrentRouteMatch.php Internal cache of RouteMatch objects.
CurrentRouteMatch::getCurrentRouteMatch function core/lib/Drupal/Core/Routing/CurrentRouteMatch.php Returns the route match for the current request.
CurrentRouteMatch::getMasterRouteMatch function core/lib/Drupal/Core/Routing/CurrentRouteMatch.php Gets the master route match..
CurrentRouteMatch::getParameter function core/lib/Drupal/Core/Routing/CurrentRouteMatch.php Returns the processed value of a named route parameter.
CurrentRouteMatch::getParameters function core/lib/Drupal/Core/Routing/CurrentRouteMatch.php Returns the bag of all processed route parameters.
CurrentRouteMatch::getParentRouteMatch function core/lib/Drupal/Core/Routing/CurrentRouteMatch.php Returns the parent route match of the current.
CurrentRouteMatch::getRawParameter function core/lib/Drupal/Core/Routing/CurrentRouteMatch.php Returns the raw value of a named route parameter.
CurrentRouteMatch::getRawParameters function core/lib/Drupal/Core/Routing/CurrentRouteMatch.php Returns the bag of all raw route parameters.
CurrentRouteMatch::getRouteMatch function core/lib/Drupal/Core/Routing/CurrentRouteMatch.php Returns the route match for a passed in request.
CurrentRouteMatch::getRouteMatchFromRequest function core/lib/Drupal/Core/Routing/CurrentRouteMatch.php Returns a route match from a given request, if possible.
CurrentRouteMatch::getRouteName function core/lib/Drupal/Core/Routing/CurrentRouteMatch.php Returns the route name.
CurrentRouteMatch::getRouteObject function core/lib/Drupal/Core/Routing/CurrentRouteMatch.php Returns the route object.
CurrentRouteMatch::resetRouteMatch function core/lib/Drupal/Core/Routing/CurrentRouteMatch.php Resets the route match static cache.
CurrentRouteMatch::__construct function core/lib/Drupal/Core/Routing/CurrentRouteMatch.php Constructs a CurrentRouteMatch object.
CurrentRouteMatchTest class core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php @coversDefaultClass \Drupal\Core\Routing\CurrentRouteMatch
@group Routing
CurrentRouteMatchTest.php file core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php
CurrentRouteMatchTest::getRouteMatch function core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php Build a test route match object for the given implementation.
CurrentRouteMatchTest::testGetCurrentRouteObject function core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php @covers ::__construct
@covers ::getRouteObject
@covers ::getCurrentRouteMatch
@covers ::getRouteMatch
CurrentRouteMatchTest::testGetRouteMatchFromRequest function core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php @covers ::getRouteMatchFromRequest
CurrentRouteMatchTest::testGetRouteMatchFromRequestWithRouting function core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php @covers ::getRouteMatchFromRequest
CurrentRouteMatchTest::testResetRouteMatch function core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php @covers ::resetRouteMatch
current_route_match service core/core.services.yml Drupal\Core\Routing\CurrentRouteMatch
Date::$routeMatch property core/modules/views/src/Plugin/views/argument/Date.php The route match.

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