Search for request

  1. Search 7.x for request
  2. Search 9.5.x for request
  3. Search 10.3.x for request
  4. Search 11.x for request
  5. Other projects
Title Object type File name Summary
RequestFormatCacheContext class core/lib/Drupal/Core/Cache/Context/RequestFormatCacheContext.php Defines the RequestFormatCacheContext service, for "per format" caching.
RequestFormatCacheContext.php file core/lib/Drupal/Core/Cache/Context/RequestFormatCacheContext.php
RequestFormatCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/RequestFormatCacheContext.php
RequestFormatCacheContext::getContext function core/lib/Drupal/Core/Cache/Context/RequestFormatCacheContext.php
RequestFormatCacheContext::getLabel function core/lib/Drupal/Core/Cache/Context/RequestFormatCacheContext.php
RequestFormatRouteFilter class core/lib/Drupal/Core/Routing/RequestFormatRouteFilter.php Provides a route filter, which filters by the request format.
RequestFormatRouteFilter.php file core/lib/Drupal/Core/Routing/RequestFormatRouteFilter.php
RequestFormatRouteFilter::filter function core/lib/Drupal/Core/Routing/RequestFormatRouteFilter.php
RequestFormatRouteFilter::getAvailableFormats function core/lib/Drupal/Core/Routing/RequestFormatRouteFilter.php Gets the set of formats across all routes in the collection.
RequestFormatRouteFilter::getDefaultFormat function core/lib/Drupal/Core/Routing/RequestFormatRouteFilter.php Determines the default request format.
RequestFormatRouteFilterTest class core/tests/Drupal/Tests/Core/Routing/RequestFormatRouteFilterTest.php @coversDefaultClass \Drupal\Core\Routing\RequestFormatRouteFilter
@group Routing
RequestFormatRouteFilterTest.php file core/tests/Drupal/Tests/Core/Routing/RequestFormatRouteFilterTest.php
RequestFormatRouteFilterTest::filterProvider function core/tests/Drupal/Tests/Core/Routing/RequestFormatRouteFilterTest.php
RequestFormatRouteFilterTest::testFilter function core/tests/Drupal/Tests/Core/Routing/RequestFormatRouteFilterTest.php @covers ::filter
@dataProvider filterProvider
RequestFormatRouteFilterTest::testNoRouteFound function core/tests/Drupal/Tests/Core/Routing/RequestFormatRouteFilterTest.php @covers ::filter
RequestFormatRouteFilterTest::testNoRouteFoundWhenNoRequestFormatAndSingleRouteWithMultipleFormats function core/tests/Drupal/Tests/Core/Routing/RequestFormatRouteFilterTest.php @covers ::filter
RequestHandler class core/modules/rest/src/RequestHandler.php Acts as intermediate request forwarder for resource plugins.
RequestHandler.php file core/modules/rest/src/RequestHandler.php
RequestHandler::$configFactory property core/modules/rest/src/RequestHandler.php The config factory.
RequestHandler::$serializer property core/modules/rest/src/RequestHandler.php The serializer.
RequestHandler::create function core/modules/rest/src/RequestHandler.php Instantiates a new instance of this class.
RequestHandler::createArgumentResolver function core/modules/rest/src/RequestHandler.php Creates an argument resolver, containing all REST parameters.
RequestHandler::delegateToRestResourcePlugin function core/modules/rest/src/RequestHandler.php Delegates an incoming request to the appropriate REST resource plugin.
RequestHandler::deserialize function core/modules/rest/src/RequestHandler.php Deserializes request body, if any.
RequestHandler::getLegacyParameters function core/modules/rest/src/RequestHandler.php Provides the parameter usable without an argument resolver.
RequestHandler::getNormalizedRequestMethod function core/modules/rest/src/RequestHandler.php Gets the normalized HTTP request method of the matched route.
RequestHandler::handle function core/modules/rest/src/RequestHandler.php Handles a REST API request.
RequestHandler::handleRaw function core/modules/rest/src/RequestHandler.php Handles a REST API request without deserializing the request body.
RequestHandler::prepareResponse function core/modules/rest/src/RequestHandler.php Prepares the REST resource response.
RequestHandler::__construct function core/modules/rest/src/RequestHandler.php Creates a new RequestHandler instance.
RequestHandlerTest class core/modules/rest/tests/src/Kernel/RequestHandlerTest.php Test REST RequestHandler controller logic.
RequestHandlerTest.php file core/modules/rest/tests/src/Kernel/RequestHandlerTest.php
RequestHandlerTest::$entityStorage property core/modules/rest/tests/src/Kernel/RequestHandlerTest.php The entity storage.
RequestHandlerTest::$modules property core/modules/rest/tests/src/Kernel/RequestHandlerTest.php Modules to enable.
RequestHandlerTest::$requestHandler property core/modules/rest/tests/src/Kernel/RequestHandlerTest.php
RequestHandlerTest::setUp function core/modules/rest/tests/src/Kernel/RequestHandlerTest.php
RequestHandlerTest::testHandle function core/modules/rest/tests/src/Kernel/RequestHandlerTest.php @covers ::handle
RequestHandlerTest::testHandleLegacy function core/modules/rest/tests/src/Kernel/RequestHandlerTest.php @covers ::handle
@covers ::getLegacyParameters
@expectedDeprecation Passing in arguments the legacy way is deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Provide the right parameter names in the method, similar to controllers. See…
RequestHelper class core/lib/Drupal/Core/Routing/RequestHelper.php Provides some helper methods for dealing with the request.
RequestHelper.php file core/lib/Drupal/Core/Routing/RequestHelper.php
RequestHelper::isCleanUrl function core/lib/Drupal/Core/Routing/RequestHelper.php Returns whether the request is using a clean URL.
RequestPagerTest class core/tests/Drupal/KernelTests/Core/Pager/RequestPagerTest.php @group Pager
RequestPagerTest.php file core/tests/Drupal/KernelTests/Core/Pager/RequestPagerTest.php
RequestPagerTest::testFindPage function core/tests/Drupal/KernelTests/Core/Pager/RequestPagerTest.php @covers ::findPage
RequestPagerTest::testGetQueryParameters function core/tests/Drupal/KernelTests/Core/Pager/RequestPagerTest.php @covers ::getQueryParameters
RequestPath class core/modules/system/src/Plugin/Condition/RequestPath.php Provides a 'Request Path' condition.
RequestPath.php file core/modules/system/src/Plugin/Condition/RequestPath.php
RequestPath::$aliasManager property core/modules/system/src/Plugin/Condition/RequestPath.php An alias manager to find the alias for the current system path.
RequestPath::$currentPath property core/modules/system/src/Plugin/Condition/RequestPath.php The current path.
RequestPath::$pathMatcher property core/modules/system/src/Plugin/Condition/RequestPath.php The path matcher.

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