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
FormBuilder::$requestStack property core/lib/Drupal/Core/Form/FormBuilder.php The request stack.
FormBuilderInterface::AJAX_FORM_REQUEST constant core/lib/Drupal/Core/Form/FormBuilderInterface.php Request key for AJAX forms that submit to the form's original route.
FormBuilderTest::testGetPostAjaxRequest function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @covers ::buildForm
FormBuilderTest::testRebuildFormOnGetRequest function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the rebuildForm() method for a GET submission.
FormCache::$requestPolicy property core/lib/Drupal/Core/Form/FormCache.php A policy rule determining the cacheability of a request.
FormCache::$requestStack property core/lib/Drupal/Core/Form/FormCache.php The request stack.
FormCacheTest::$requestPolicy property core/tests/Drupal/Tests/Core/Form/FormCacheTest.php A policy rule determining the cacheability of a request.
FormCacheTest::$requestStack property core/tests/Drupal/Tests/Core/Form/FormCacheTest.php The request stack.
FormState::$requestMethod property core/lib/Drupal/Core/Form/FormState.php The HTTP method used by the request building or processing this form.
FormState::isRequestMethodSafe function core/lib/Drupal/Core/Form/FormState.php Checks whether the request method is a "safe" HTTP method.
FormState::setRequestMethod function core/lib/Drupal/Core/Form/FormState.php Sets the HTTP method used by the request that is building the form.
FormStateDecoratorBase::setRequestMethod function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Sets the HTTP method used by the request that is building the form.
FormStateDecoratorBaseTest::providerSetRequestMethod function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php Provides data to self::testSetMethod().
FormStateDecoratorBaseTest::testSetRequestMethod function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::setRequestMethod
FormStateInterface::setRequestMethod function core/lib/Drupal/Core/Form/FormStateInterface.php Sets the HTTP method used by the request that is building the form.
FormSubmitter::$requestStack property core/lib/Drupal/Core/Form/FormSubmitter.php The request stack.
FormTestBase::$request property core/tests/Drupal/Tests/Core/Form/FormTestBase.php The request.
FormTestBase::$requestStack property core/tests/Drupal/Tests/Core/Form/FormTestBase.php The request stack.
FormTestEventSubscriber::onKernelRequest function core/modules/system/tests/modules/form_test/src/EventSubscriber/FormTestEventSubscriber.php Adds custom attributes to the request object.
FormValidator::$requestStack property core/lib/Drupal/Core/Form/FormValidator.php The request stack.
FunctionalTestSetupTrait::prepareRequestForGenerator function core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php Creates a mock request and sets it on the generator.
HelpBlock::$request property core/modules/help/src/Plugin/Block/HelpBlock.php The current request.
HoldTestSubscriber::HOLD_REQUEST constant core/modules/system/tests/modules/hold_test/src/EventSubscriber/HoldTestSubscriber.php
HoldTestSubscriber::onRequest function core/modules/system/tests/modules/hold_test/src/EventSubscriber/HoldTestSubscriber.php Request hold.
hold_test_request function core/modules/system/tests/modules/hold_test/hold_test.module Request hold.
HtmlResponseAttachmentsProcessor::$requestStack property core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php The request stack.
IFrameUrlHelper::$requestContext property core/modules/media/src/IFrameUrlHelper.php The request context service.
ImportStorageTransformer::$requestLock property core/lib/Drupal/Core/Config/ImportStorageTransformer.php The normal lock for the duration of the request.
install_begin_request function core/includes/install.core.inc Begins an installation request, modifying the installation state as needed.
JsonApiDocumentTopLevelNormalizer::validateRequestBody function core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php Performs minimal validation of the document.
JsonApiDocumentTopLevelNormalizerTest::decorateRequest function core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php Decorates a request with sparse fieldsets and includes.
JsonApiFunctionalTestBase::request function core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTestBase.php Performs a HTTP request. Wraps the Guzzle HTTP client.
JsonApiRequestTestTrait trait core/modules/jsonapi/tests/src/Functional/JsonApiRequestTestTrait.php Boilerplate for JSON:API Functional tests' HTTP requests.
JsonApiRequestTestTrait.php file core/modules/jsonapi/tests/src/Functional/JsonApiRequestTestTrait.php
JsonApiRequestTestTrait::decorateWithXdebugCookie function core/modules/jsonapi/tests/src/Functional/JsonApiRequestTestTrait.php Adds the Xdebug cookie to the request options.
JsonApiRequestTestTrait::request function core/modules/jsonapi/tests/src/Functional/JsonApiRequestTestTrait.php Performs a HTTP request. Wraps the Guzzle HTTP client.
JsonApiRequestValidator class core/modules/jsonapi/src/EventSubscriber/JsonApiRequestValidator.php Request subscriber that validates a JSON:API request.
JsonApiRequestValidator.php file core/modules/jsonapi/src/EventSubscriber/JsonApiRequestValidator.php
JsonApiRequestValidator::getSubscribedEvents function core/modules/jsonapi/src/EventSubscriber/JsonApiRequestValidator.php
JsonApiRequestValidator::onRequest function core/modules/jsonapi/src/EventSubscriber/JsonApiRequestValidator.php Validates JSON:API requests.
JsonApiRequestValidator::validateQueryParams function core/modules/jsonapi/src/EventSubscriber/JsonApiRequestValidator.php Validates custom (implementation-specific) query parameter names.
JSWebAssert::assertWaitOnAjaxRequest function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Waits for AJAX request to be completed.
JsWebAssertTestForm::addAssertWaitOnAjaxRequest function core/modules/system/tests/modules/js_webassert_test/src/Form/JsWebAssertTestForm.php Ajax callback for the "Test waitForAjax" button.
KernelTestBaseTest::testOutboundHttpRequest function core/tests/Drupal/KernelTests/KernelTestBaseTest.php Tests that an outbound HTTP request can be performed inside of a test.
LanguageNegotiationContentEntity::getContentEntityTypeIdForCurrentRequest function core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationContentEntity.php Returns the content entity type ID from the current request for the route.
LanguageNegotiationContentEntityTest::setCurrentRequestForRoute function core/modules/language/tests/src/Functional/LanguageNegotiationContentEntityTest.php Sets the current request to a specific path with the corresponding route.
LanguageNegotiator::$requestStack property core/modules/language/src/LanguageNegotiator.php The request stack object.
LanguageRequestSubscriber class core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php Sets the $request property on the language manager.
LanguageRequestSubscriber.php file core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php
LanguageRequestSubscriber::$currentUser property core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php The current active user.

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