Search for match
- Search 7.x for match
- Search 9.5.x for match
- Search 10.3.x for match
- Search 11.x for match
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
ContentPreprocessTest::setupCurrentRouteMatch | function | core/ |
Mock the current route matching object. |
ContentTypeHeaderMatcher | class | core/ |
Filters routes based on the HTTP Content-type header. |
ContentTypeHeaderMatcher.php | file | core/ |
|
ContentTypeHeaderMatcher::filter | function | core/ |
|
ContentTypeHeaderMatcherTest | class | core/ |
Confirm that the content types partial matcher is functioning properly. |
ContentTypeHeaderMatcherTest.php | file | core/ |
|
ContentTypeHeaderMatcherTest::$fixtures | property | core/ |
A collection of shared fixture data for tests. |
ContentTypeHeaderMatcherTest::$matcher | property | core/ |
The matcher object that is going to be tested. |
ContentTypeHeaderMatcherTest::providerTestSafeRequestFilter | function | core/ |
|
ContentTypeHeaderMatcherTest::setUp | function | core/ |
|
ContentTypeHeaderMatcherTest::testContentTypeRequestHeaderMissing | function | core/ |
Confirms that the matcher throws an exception for missing request header. |
ContentTypeHeaderMatcherTest::testJsonRequest | function | core/ |
Tests that XML-restricted routes get filtered out on JSON requests. |
ContentTypeHeaderMatcherTest::testNoRouteFound | function | core/ |
Confirms that the matcher throws an exception for no-route. |
ContentTypeHeaderMatcherTest::testPostForm | function | core/ |
Tests route filtering on POST form submission requests. |
ContentTypeHeaderMatcherTest::testSafeRequestFilter | function | core/ |
Tests that routes are not filtered on safe requests. |
content_type_header_matcher | service | core/ |
Drupal\Core\Routing\ContentTypeHeaderMatcher |
ContextDefinition::dataTypeMatches | function | core/ |
Checks if this definition's data type matches that of the given context. |
ContextHandler::getMatchingContexts | function | core/ |
Determines which contexts satisfy the constraints of a given definition. |
ContextHandlerInterface::getMatchingContexts | function | core/ |
Determines which contexts satisfy the constraints of a given definition. |
ContextHandlerTest::providerTestGetMatchingContexts | function | core/ |
Provides data for testGetMatchingContexts(). |
ContextHandlerTest::testGetMatchingContexts | function | core/ |
@covers ::getMatchingContexts |
ControllerResolverTest::testGetArgumentsWithRouteMatchAndPsr7Request | function | core/ |
Tests getArguments with a route match and a PSR-7 request. |
ControllerResolverTest::testGetArgumentsWithRouteMatchAndRequest | function | core/ |
Tests getArguments with a route match and a request. |
CsrfAccessCheckTest::$routeMatch | property | core/ |
The mock route match. |
CurrentRouteMatch | class | core/ |
Default object for current_route_match service. |
CurrentRouteMatch.php | file | core/ |
|
CurrentRouteMatch::$requestStack | property | core/ |
The related request stack. |
CurrentRouteMatch::$routeMatches | property | core/ |
Internal cache of RouteMatch objects. |
CurrentRouteMatch::getCurrentRouteMatch | function | core/ |
Returns the route match for the current request. |
CurrentRouteMatch::getMasterRouteMatch | function | core/ |
Gets the master route match.. |
CurrentRouteMatch::getParameter | function | core/ |
Returns the processed value of a named route parameter. |
CurrentRouteMatch::getParameters | function | core/ |
Returns the bag of all processed route parameters. |
CurrentRouteMatch::getParentRouteMatch | function | core/ |
Returns the parent route match of the current. |
CurrentRouteMatch::getRawParameter | function | core/ |
Returns the raw value of a named route parameter. |
CurrentRouteMatch::getRawParameters | function | core/ |
Returns the bag of all raw route parameters. |
CurrentRouteMatch::getRouteMatch | function | core/ |
Returns the route match for a passed in request. |
CurrentRouteMatch::getRouteMatchFromRequest | function | core/ |
Returns a route match from a given request, if possible. |
CurrentRouteMatch::getRouteName | function | core/ |
Returns the route name. |
CurrentRouteMatch::getRouteObject | function | core/ |
Returns the route object. |
CurrentRouteMatch::resetRouteMatch | function | core/ |
Resets the route match static cache. |
CurrentRouteMatch::__construct | function | core/ |
Constructs a CurrentRouteMatch object. |
CurrentRouteMatchTest | class | core/ |
@coversDefaultClass \Drupal\Core\Routing\CurrentRouteMatch @group Routing |
CurrentRouteMatchTest.php | file | core/ |
|
CurrentRouteMatchTest::getRouteMatch | function | core/ |
Build a test route match object for the given implementation. |
CurrentRouteMatchTest::testGetCurrentRouteObject | function | core/ |
@covers ::__construct @covers ::getRouteObject @covers ::getCurrentRouteMatch @covers ::getRouteMatch |
CurrentRouteMatchTest::testGetRouteMatchFromRequest | function | core/ |
@covers ::getRouteMatchFromRequest |
CurrentRouteMatchTest::testGetRouteMatchFromRequestWithRouting | function | core/ |
@covers ::getRouteMatchFromRequest |
CurrentRouteMatchTest::testResetRouteMatch | function | core/ |
@covers ::resetRouteMatch |
current_route_match | service | core/ |
Drupal\Core\Routing\CurrentRouteMatch |
Date::$routeMatch | property | core/ |
The route match. |
Pagination
- Previous page
- Page 2
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.