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 11.x for request
  5. Other projects
Title Object type File name Summary
CacheableTooManyRequestsHttpException::__construct function core/lib/Drupal/Core/Http/Exception/CacheableTooManyRequestsHttpException.php
cache_context.request_format service core/core.services.yml Drupal\Core\Cache\Context\RequestFormatCacheContext
ChainRequestPolicy class core/lib/Drupal/Core/PageCache/ChainRequestPolicy.php Implements a compound request policy.
ChainRequestPolicy.php file core/lib/Drupal/Core/PageCache/ChainRequestPolicy.php
ChainRequestPolicy::$rules property core/lib/Drupal/Core/PageCache/ChainRequestPolicy.php A list of policy rules to apply when this policy is evaluated.
ChainRequestPolicy::addPolicy function core/lib/Drupal/Core/PageCache/ChainRequestPolicy.php Add a policy to the list of policy rules.
ChainRequestPolicy::check function core/lib/Drupal/Core/PageCache/ChainRequestPolicy.php
ChainRequestPolicyInterface interface core/lib/Drupal/Core/PageCache/ChainRequestPolicyInterface.php Defines the interface for compound request policies.
ChainRequestPolicyInterface.php file core/lib/Drupal/Core/PageCache/ChainRequestPolicyInterface.php
ChainRequestPolicyInterface::addPolicy function core/lib/Drupal/Core/PageCache/ChainRequestPolicyInterface.php Add a policy to the list of policy rules.
ChainRequestPolicyTest class core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php @coversDefaultClass \Drupal\Core\PageCache\ChainRequestPolicy
@group PageCache
ChainRequestPolicyTest.php file core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php
ChainRequestPolicyTest::$policy property core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php The chain request policy under test.
ChainRequestPolicyTest::$request property core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php A request object.
ChainRequestPolicyTest::providerAllowIfAnyRuleReturnedAllow function core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php Provides test data for testAllowIfAnyRuleReturnedAllow.
ChainRequestPolicyTest::providerChainExceptionOnInvalidReturnValue function core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php Provides test data for testChainExceptionOnInvalidReturnValue.
ChainRequestPolicyTest::setUp function core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php
ChainRequestPolicyTest::testAllowIfAnyRuleReturnedAllow function core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php Asserts that check() returns ALLOW if any of the rules returns ALLOW.
ChainRequestPolicyTest::testChainExceptionOnInvalidReturnValue function core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php Asserts that check() throws an exception if a rule returns an invalid value.
ChainRequestPolicyTest::testEmptyChain function core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php Asserts that check() returns NULL if the chain is empty.
ChainRequestPolicyTest::testNullRuleChain function core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php Asserts that check() returns NULL if a rule returns NULL.
ChainRequestPolicyTest::testStopChainOnFirstDeny function core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php Asserts that check() returns immediately when a rule returned DENY.
ChainResponsePolicyTest::$request property core/tests/Drupal/Tests/Core/PageCache/ChainResponsePolicyTest.php A request object.
CheckProvider::$checksNeedsRequest property core/lib/Drupal/Core/Access/CheckProvider.php Array of access checks which only will be run on the incoming request.
CheckProvider::getChecksNeedRequest function core/lib/Drupal/Core/Access/CheckProvider.php
CheckProviderInterface::getChecksNeedRequest function core/lib/Drupal/Core/Access/CheckProviderInterface.php A list of checks that needs the request.
CKEditor5MediaController::$requestStack property core/modules/ckeditor5/src/Controller/CKEditor5MediaController.php The request stack.
ConfigurableLanguageManager::$requestStack property core/modules/language/src/ConfigurableLanguageManager.php The request object.
ContentDispositionFilenameParser::REQUEST_HEADER_FILENAME_REGEX constant core/modules/file/src/Upload/ContentDispositionFilenameParser.php The regex used to extract the filename from the content disposition header.
ContentDispositionFilenameParserTest::createRequest function core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php Creates a request with the given content-disposition header.
ContentTypeHeaderMatcherTest::providerTestSafeRequestFilter function core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php
ContentTypeHeaderMatcherTest::testContentTypeRequestHeaderMissing function core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php Confirms that the matcher throws an exception for missing request header.
ContentTypeHeaderMatcherTest::testJsonRequest function core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php Tests that XML-restricted routes get filtered out on JSON requests.
ContentTypeHeaderMatcherTest::testSafeRequestFilter function core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php Tests that routes are not filtered on safe requests.
ContextualLinkManager::$requestStack property core/lib/Drupal/Core/Menu/ContextualLinkManager.php The request stack.
CookieResourceTestTrait::getAuthenticationRequestOptions function core/modules/rest/tests/src/Functional/CookieResourceTestTrait.php
CorsIntegrationTest::testCrossSiteRequest function core/tests/Drupal/FunctionalTests/HttpKernel/CorsIntegrationTest.php
CsrfRequestHeaderAccessCheck class core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php Access protection against CSRF attacks.
CsrfRequestHeaderAccessCheck.php file core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php
CsrfRequestHeaderAccessCheck::$csrfToken property core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php The token generator.
CsrfRequestHeaderAccessCheck::$sessionConfiguration property core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php The session configuration.
CsrfRequestHeaderAccessCheck::access function core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php Checks access.
CsrfRequestHeaderAccessCheck::applies function core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php Declares whether the access check applies to a specific route or not.
CsrfRequestHeaderAccessCheck::TOKEN_KEY constant core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php A string key that will used to designate the token used by this class.
CsrfRequestHeaderAccessCheck::__construct function core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php Constructs a new rest CSRF access check.
CsrfRequestHeaderTest class core/modules/system/tests/src/Functional/CsrfRequestHeaderTest.php Tests protecting routes by requiring CSRF token in the request header.
CsrfRequestHeaderTest.php file core/modules/system/tests/src/Functional/CsrfRequestHeaderTest.php
CsrfRequestHeaderTest::$defaultTheme property core/modules/system/tests/src/Functional/CsrfRequestHeaderTest.php The theme to install as the default for testing.
CsrfRequestHeaderTest::$modules property core/modules/system/tests/src/Functional/CsrfRequestHeaderTest.php Modules to install.
CsrfRequestHeaderTest::testRouteAccess function core/modules/system/tests/src/Functional/CsrfRequestHeaderTest.php Tests access to routes protected by CSRF request header requirements.

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