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
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.
ChangeLogger::recordRequestedPackageVersions function core/modules/package_manager/src/EventSubscriber/ChangeLogger.php Records requested packages.
ChangeLogger::REQUESTED_PACKAGES_KEY constant core/modules/package_manager/src/EventSubscriber/ChangeLogger.php The metadata key under which to store the requested package versions.
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 A list of checks that needs the request.
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.
CurrentPathStack::$requestStack property core/lib/Drupal/Core/Path/CurrentPathStack.php The request stack.
CurrentRouteMatch::$requestStack property core/lib/Drupal/Core/Routing/CurrentRouteMatch.php The related request stack.
CurrentRouteMatch::getRouteMatchFromRequest function core/lib/Drupal/Core/Routing/CurrentRouteMatch.php Returns a route match from a given request, if possible.
CurrentRouteMatchTest::testGetRouteMatchFromRequest function core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php @covers ::getRouteMatchFromRequest
CurrentRouteMatchTest::testGetRouteMatchFromRequestWithRouting function core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php @covers ::getRouteMatchFromRequest

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