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
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 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.
CKEditorIntegrationTest::getLastPreviewRequestTransferSize function core/modules/media/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php Gets the transfer size of the last preview request.
ConfigurableLanguageManager::$requestStack property core/modules/language/src/ConfigurableLanguageManager.php The request object.
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.
ControllerResolverTest::testGetArgumentsWithRouteMatchAndPsr7Request function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php Tests getArguments with a route match and a PSR-7 request.
ControllerResolverTest::testGetArgumentsWithRouteMatchAndRequest function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php Tests getArguments with a route match and a request.
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 enable.
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
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.

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