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
CustomPageExceptionHtmlSubscriber::makeSubrequestToCustomPath function core/lib/Drupal/Core/EventSubscriber/CustomPageExceptionHtmlSubscriber.php Makes a subrequest to retrieve the custom error page.
CustomPageExceptionHtmlSubscriberTest::testHandleWithGetRequest function core/tests/Drupal/Tests/Core/EventSubscriber/CustomPageExceptionHtmlSubscriberTest.php Tests onHandleException with a GET request.
CustomPageExceptionHtmlSubscriberTest::testHandleWithPostRequest function core/tests/Drupal/Tests/Core/EventSubscriber/CustomPageExceptionHtmlSubscriberTest.php Tests onHandleException with a POST request.
Date::$requestStack property core/modules/datetime/src/Plugin/views/filter/Date.php The request stack used to determine current time.
DateFormatter::$requestStack property core/lib/Drupal/Core/Datetime/DateFormatter.php The request stack.
DateTest::$requestStack property core/tests/Drupal/Tests/Core/Datetime/DateTest.php The mocked string translation.
DefaultExceptionHtmlSubscriber::makeSubrequest function core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php Makes a subrequest to retrieve the default error page.
DefaultRequestPolicy class core/lib/Drupal/Core/PageCache/DefaultRequestPolicy.php The default page cache request policy.
DefaultRequestPolicy class core/modules/dynamic_page_cache/src/PageCache/RequestPolicy/DefaultRequestPolicy.php The default Dynamic Page Cache request policy.
DefaultRequestPolicy.php file core/modules/dynamic_page_cache/src/PageCache/RequestPolicy/DefaultRequestPolicy.php
DefaultRequestPolicy.php file core/lib/Drupal/Core/PageCache/DefaultRequestPolicy.php
DefaultRequestPolicy::__construct function core/lib/Drupal/Core/PageCache/DefaultRequestPolicy.php Constructs the default page cache request policy.
DefaultRequestPolicy::__construct function core/modules/dynamic_page_cache/src/PageCache/RequestPolicy/DefaultRequestPolicy.php Constructs the default Dynamic Page Cache request policy.
DenyNodePreviewTest::$request property core/modules/node/tests/src/Unit/PageCache/DenyNodePreviewTest.php A request object.
DenyPrivateImageStyleDownloadTest::$request property core/modules/image/tests/src/Unit/PageCache/DenyPrivateImageStyleDownloadTest.php A request object.
DenyTestAuthRequests class core/modules/rest/tests/modules/rest_test/src/PageCache/RequestPolicy/DenyTestAuthRequests.php Cache policy for pages requested with REST Test Auth.
DenyTestAuthRequests.php file core/modules/rest/tests/modules/rest_test/src/PageCache/RequestPolicy/DenyTestAuthRequests.php
DenyTestAuthRequests::check function core/modules/rest/tests/modules/rest_test/src/PageCache/RequestPolicy/DenyTestAuthRequests.php Determines whether delivery of a cached page should be attempted.
DisallowBasicAuthRequests class core/modules/basic_auth/src/PageCache/DisallowBasicAuthRequests.php Cache policy for pages served from basic auth.
DisallowBasicAuthRequests.php file core/modules/basic_auth/src/PageCache/DisallowBasicAuthRequests.php
DisallowBasicAuthRequests::check function core/modules/basic_auth/src/PageCache/DisallowBasicAuthRequests.php Determines whether delivery of a cached page should be attempted.
Drupal::hasRequest function core/lib/Drupal.php Indicates if there is a currently active request object.
Drupal::request function core/lib/Drupal.php Retrieves the currently active request object.
Drupal::requestStack function core/lib/Drupal.php Retrieves the request stack.
DrupalKernel::createFromRequest function core/lib/Drupal/Core/DrupalKernel.php Create a DrupalKernel object from a request.
DrupalKernel::initializeRequestGlobals function core/lib/Drupal/Core/DrupalKernel.php Bootstraps the legacy global request variables.
DrupalKernelInterface::CONTAINER_INITIALIZE_SUBREQUEST_FINISHED constant core/lib/Drupal/Core/DrupalKernelInterface.php Event fired when the service container finished initializing in subrequest.
DrupalTest::testRequestStack function core/tests/Drupal/Tests/Core/DrupalTest.php Tests the testRequestStack() method.
DrupalTestBrowser::doRequest function core/tests/Drupal/Tests/DrupalTestBrowser.php
DynamicPageCacheSubscriber::$requestPolicy property core/modules/dynamic_page_cache/src/EventSubscriber/DynamicPageCacheSubscriber.php A request policy rule determining the cacheability of a response.
DynamicPageCacheSubscriber::$requestPolicyResults property core/modules/dynamic_page_cache/src/EventSubscriber/DynamicPageCacheSubscriber.php Internal cache of request policy results.
DynamicPageCacheSubscriber::onRequest function core/modules/dynamic_page_cache/src/EventSubscriber/DynamicPageCacheSubscriber.php Sets a response in case of a Dynamic Page Cache hit.
dynamic_page_cache_request_policy service core/modules/dynamic_page_cache/dynamic_page_cache.services.yml Drupal\dynamic_page_cache\PageCache\RequestPolicy\DefaultRequestPolicy
EntityDeleteMultipleAccessCheck::$requestStack property core/lib/Drupal/Core/Entity/EntityDeleteMultipleAccessCheck.php Request stack service.
EntityResource::getRequestLink function core/modules/jsonapi/src/Controller/EntityResource.php Get the full URL for a given request object.
EntityResourceTest::$request property core/modules/jsonapi/tests/src/Kernel/Controller/EntityResourceTest.php A fake request.
EntityUrlLanguageTest::setCurrentRequestForRoute function core/modules/language/tests/src/Kernel/EntityUrlLanguageTest.php Sets the current request to a specific path with the corresponding route.
ExceptionHandlingTest::testExceptionResponseGeneratedForOriginalRequest function core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php Tests that the exception response is executed in the original context.
FieldPluginBaseTest::$requestStack property core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php The request stack.
FileUploadHandler::$requestStack property core/modules/file/src/Upload/FileUploadHandler.php The request stack.
FileUploadResourceTestBase::fileRequest function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Performs a file upload request. Wraps the Guzzle HTTP client.
FileUploadTest::fileRequest function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Performs a file upload request. Wraps the Guzzle HTTP client.
FileUploadTest::testPostFileUploadAndUseInSingleRequest function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Tests using the 'file upload and "use" file in single request" POST route.
FileUrlGenerator::$requestStack property core/lib/Drupal/Core/File/FileUrlGenerator.php The request stack.
FinishResponseSubscriberTest::$requestPolicy property core/tests/Drupal/Tests/Core/EventSubscriber/FinishResponseSubscriberTest.php The mock request policy.
FormAjaxSubscriberTest::testOnExceptionBrokenPostRequest function core/tests/Drupal/Tests/Core/Form/EventSubscriber/FormAjaxSubscriberTest.php @covers ::onException
FormBase::$requestStack property core/lib/Drupal/Core/Form/FormBase.php The request stack.
FormBase::getRequest function core/lib/Drupal/Core/Form/FormBase.php Gets the request object.
FormBase::setRequestStack function core/lib/Drupal/Core/Form/FormBase.php Sets the request stack object to use.
FormBuilder::$requestStack property core/lib/Drupal/Core/Form/FormBuilder.php The request stack.

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