Search for request

  1. Search 7.x for request
  2. Search 9.5.x for request
  3. Search 8.9.x for request
  4. Search 10.3.x for request
  5. Other projects
Title Object type File name Summary
RequestCloseSubscriber::getSubscribedEvents function core/lib/Drupal/Core/EventSubscriber/RequestCloseSubscriber.php Registers the methods in this class that should be listeners.
RequestCloseSubscriber::onTerminate function core/lib/Drupal/Core/EventSubscriber/RequestCloseSubscriber.php Performs end of request tasks.
RequestCloseSubscriber::__construct function core/lib/Drupal/Core/EventSubscriber/RequestCloseSubscriber.php Constructs a new RequestCloseSubscriber instance.
RequestContext class core/lib/Drupal/Core/Routing/RequestContext.php Holds information about the current request.
RequestContext.php file core/lib/Drupal/Core/Routing/RequestContext.php
RequestContext::$completeBaseUrl property core/lib/Drupal/Core/Routing/RequestContext.php The scheme, host and base path, for example "http://example.com/d8".
RequestContext::fromRequest function core/lib/Drupal/Core/Routing/RequestContext.php
RequestContext::fromRequestStack function core/lib/Drupal/Core/Routing/RequestContext.php Populates the context from the current request from the request stack.
RequestContext::getCompleteBaseUrl function core/lib/Drupal/Core/Routing/RequestContext.php Gets the scheme, host and base path.
RequestContext::setCompleteBaseUrl function core/lib/Drupal/Core/Routing/RequestContext.php Sets the complete base URL for the Request context.
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 Filters the route collection against a request.
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::$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::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 install.
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
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

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