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
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::testGetAjaxRequest function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @covers ::buildForm
FormBuilderTest::testPostAjaxRequest 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.
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.
IFrameUrlHelper::$requestContext property core/modules/media/src/IFrameUrlHelper.php The request context service.
ImageUploadTest::uploadRequest function core/modules/ckeditor5/tests/src/Functional/ImageUploadTest.php Make upload request to a controller.
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.
JsonApiFunctionalTestBase::request function core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTestBase.php Performs a HTTP request. Wraps the Guzzle HTTP client.
JsonapiMaintenanceModeSubscriber::onMaintenanceModeRequest function core/modules/jsonapi/src/EventSubscriber/JsonapiMaintenanceModeSubscriber.php Returns response when site is in maintenance mode and user is not exempt.
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
JsonApiRequestValidator class core/modules/jsonapi/src/EventSubscriber/JsonApiRequestValidator.php Subscriber that validates the query parameter names on 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::onResponse 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::assertExpectedAjaxRequest function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Asserts that an AJAX request has been completed.
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.
JsWebAssertTestForm::addAssertWaitOnAjaxRequest function core/modules/system/tests/modules/jswebassert_test/src/Form/JsWebAssertTestForm.php Ajax callback for the "Test waitForAjax" button.
js_testing_ajax_request_test.info.yml file core/modules/system/tests/modules/js_testing_ajax_request_test/js_testing_ajax_request_test.info.yml core/modules/system/tests/modules/js_testing_ajax_request_test/js_testing_ajax_request_test.info.yml
js_testing_ajax_request_test.libraries.yml file core/modules/system/tests/modules/js_testing_ajax_request_test/js_testing_ajax_request_test.libraries.yml core/modules/system/tests/modules/js_testing_ajax_request_test/js_testing_ajax_request_test.libraries.yml
js_testing_ajax_request_test.module file core/modules/system/tests/modules/js_testing_ajax_request_test/js_testing_ajax_request_test.module
js_testing_ajax_request_test_page_attachments function core/modules/system/tests/modules/js_testing_ajax_request_test/js_testing_ajax_request_test.module Implements hook_page_attachments().
KernelTestBaseTest::testOutboundHttpRequest function core/tests/Drupal/KernelTests/KernelTestBaseTest.php Tests that an outbound HTTP request can be performed inside of a test.
KernelTestBaseTest::testSessionOnRequest function core/tests/Drupal/KernelTests/KernelTestBaseTest.php Tests that a usable session is on the request.
LanguageNegotiationContentEntity::getContentEntityTypeIdForCurrentRequest function core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationContentEntity.php Returns the content entity type ID from the current request for the route.

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