Search for request
- Search 7.x for request
- Search 9.5.x for request
- Search 8.9.x for request
- Search 10.3.x for request
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
RequestContext | class | core/ |
Holds information about the current request. |
RequestContext.php | file | core/ |
|
RequestContext::$completeBaseUrl | property | core/ |
The scheme, host and base path, for example "http://example.com/d8". |
RequestContext::fromRequest | function | core/ |
|
RequestContext::fromRequestStack | function | core/ |
Populates the context from the current request from the request stack. |
RequestContext::getCompleteBaseUrl | function | core/ |
Gets the scheme, host and base path. |
RequestContext::setCompleteBaseUrl | function | core/ |
Sets the complete base URL for the Request context. |
RequestFormatCacheContext | class | core/ |
Defines the RequestFormatCacheContext service, for "per format" caching. |
RequestFormatCacheContext.php | file | core/ |
|
RequestFormatCacheContext::getCacheableMetadata | function | core/ |
|
RequestFormatCacheContext::getContext | function | core/ |
|
RequestFormatCacheContext::getLabel | function | core/ |
|
RequestFormatRouteFilter | class | core/ |
Provides a route filter, which filters by the request format. |
RequestFormatRouteFilter.php | file | core/ |
|
RequestFormatRouteFilter::filter | function | core/ |
Filters the route collection against a request. |
RequestFormatRouteFilter::getAvailableFormats | function | core/ |
Gets the set of formats across all routes in the collection. |
RequestFormatRouteFilter::getDefaultFormat | function | core/ |
Determines the default request format. |
RequestFormatRouteFilterTest | class | core/ |
@coversDefaultClass \Drupal\Core\Routing\RequestFormatRouteFilter @group Routing |
RequestFormatRouteFilterTest.php | file | core/ |
|
RequestFormatRouteFilterTest::filterProvider | function | core/ |
|
RequestFormatRouteFilterTest::testFilter | function | core/ |
@covers ::filter @dataProvider filterProvider |
RequestFormatRouteFilterTest::testNoRouteFound | function | core/ |
@covers ::filter |
RequestFormatRouteFilterTest::testNoRouteFoundWhenNoRequestFormatAndSingleRouteWithMultipleFormats | function | core/ |
@covers ::filter |
RequestHandler | class | core/ |
Acts as intermediate request forwarder for resource plugins. |
RequestHandler.php | file | core/ |
|
RequestHandler::$serializer | property | core/ |
The serializer. |
RequestHandler::create | function | core/ |
Instantiates a new instance of this class. |
RequestHandler::createArgumentResolver | function | core/ |
Creates an argument resolver, containing all REST parameters. |
RequestHandler::delegateToRestResourcePlugin | function | core/ |
Delegates an incoming request to the appropriate REST resource plugin. |
RequestHandler::deserialize | function | core/ |
Deserializes request body, if any. |
RequestHandler::getNormalizedRequestMethod | function | core/ |
Gets the normalized HTTP request method of the matched route. |
RequestHandler::handle | function | core/ |
Handles a REST API request. |
RequestHandler::handleRaw | function | core/ |
Handles a REST API request without deserializing the request body. |
RequestHandler::prepareResponse | function | core/ |
Prepares the REST resource response. |
RequestHandler::__construct | function | core/ |
Creates a new RequestHandler instance. |
RequestHandlerTest | class | core/ |
Test REST RequestHandler controller logic. |
RequestHandlerTest.php | file | core/ |
|
RequestHandlerTest::$entityStorage | property | core/ |
The entity storage. |
RequestHandlerTest::$modules | property | core/ |
Modules to install. |
RequestHandlerTest::$requestHandler | property | core/ |
|
RequestHandlerTest::setUp | function | core/ |
|
RequestHandlerTest::testHandle | function | core/ |
@covers ::handle |
RequestHelper | class | core/ |
Provides some helper methods for dealing with the request. |
RequestHelper.php | file | core/ |
|
RequestHelper::isCleanUrl | function | core/ |
Returns whether the request is using a clean URL. |
RequestPagerTest | class | core/ |
@group Pager |
RequestPagerTest.php | file | core/ |
|
RequestPagerTest::testFindPage | function | core/ |
@covers ::findPage |
RequestPagerTest::testGetQueryParameters | function | core/ |
@covers ::getQueryParameters |
RequestPath | class | core/ |
Provides a 'Request Path' condition. |
Pagination
- Previous page
- Page 7
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.