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
SystemManager::$requestStack property core/modules/system/src/SystemManager.php The request stack.
SystemTestController::requestDestination function core/modules/system/tests/modules/system_test/src/Controller/SystemTestController.php Controller to return $_REQUEST['destination'] for testing.
TableSort::getContextFromRequest function core/lib/Drupal/Core/Utility/TableSort.php Initializes the table sort context.
TaxonomyDefaultArgumentTest::initViewWithRequest function core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyDefaultArgumentTest.php Init view with a request by provided url.
TemporaryJsonapiFileFieldUploader::REQUEST_HEADER_FILENAME_REGEX constant core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php The regex used to extract the filename from the content disposition header.
TestClass::onKernelRequestTest function core/modules/system/tests/modules/service_provider_test/src/TestClass.php A simple kernel listener method.
TestClient::doRequest function core/tests/Drupal/BuildTests/Framework/Tests/DrupalMinkClientTest.php
TestContent::subrequestTest function core/modules/system/tests/modules/router_test_directory/src/TestContent.php Uses a subrequest to determine the content.
TestRunnerKernel::createFromRequest function core/lib/Drupal/Core/Test/TestRunnerKernel.php Create a DrupalKernel object from a request.
TestTime::getRequestTime function core/modules/update/tests/modules/update_test/src/Datetime/TestTime.php Returns the timestamp for the current request.
ThemeEarlyInitializationTest::testRequestListener function core/modules/system/tests/src/Functional/Theme/ThemeEarlyInitializationTest.php Test that the theme system can generate output in a request listener.
ThemeNegotiatorTest::$requestStack property core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php The request stack.
ThemeTest::testThemeOnNonHtmlRequest function core/modules/system/tests/src/Functional/Theme/ThemeTest.php Ensures that non-HTML requests never initialize themes.
ThemeTestController::testRequestListener function core/modules/system/tests/modules/theme_test/src/ThemeTestController.php Tests themed output generated in a request listener.
ThemeTestSubscriber::onRequest function core/modules/system/tests/modules/theme_test/src/EventSubscriber/ThemeTestSubscriber.php Generates themed output early in a page request.
Time::$request property core/modules/views/src/Plugin/views/cache/Time.php The current request.
Time::$requestStack property core/lib/Drupal/Component/Datetime/Time.php The request stack.
Time::getRequestMicroTime function core/lib/Drupal/Component/Datetime/Time.php Returns the timestamp for the current request with microsecond precision.
Time::getRequestTime function core/lib/Drupal/Component/Datetime/Time.php Returns the timestamp for the current request.
TimeInterface::getRequestMicroTime function core/lib/Drupal/Component/Datetime/TimeInterface.php Returns the timestamp for the current request with microsecond precision.
TimeInterface::getRequestTime function core/lib/Drupal/Component/Datetime/TimeInterface.php Returns the timestamp for the current request.
TimestampAgoFormatter::$request property core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php The current Request object.
TimeTest::$requestStack property core/tests/Drupal/Tests/Component/Datetime/TimeTest.php The mocked request stack.
TimeTest::testGetRequestMicroTime function core/tests/Drupal/Tests/Component/Datetime/TimeTest.php Tests the getRequestMicroTime method.
TimeTest::testGetRequestMicroTimeNoRequest function core/tests/Drupal/Tests/Component/Datetime/TimeTest.php @covers ::getRequestMicroTime
TimeTest::testGetRequestTime function core/tests/Drupal/Tests/Component/Datetime/TimeTest.php Tests the getRequestTime method.
TimeTest::testGetRequestTimeNoRequest function core/tests/Drupal/Tests/Component/Datetime/TimeTest.php @covers ::getRequestTime
toolbar.page_cache_request_policy.allow_toolbar_path service core/modules/toolbar/toolbar.services.yml Drupal\toolbar\PageCache\AllowToolbarPath
ToolbarAdminMenuTest::testSubtreesJsonRequest function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Tests that the 'toolbar/subtrees/{hash}' is reachable and correct.
TrustedHostsRequestFactory class core/lib/Drupal/Core/Http/TrustedHostsRequestFactory.php Provides a request factory for requests using host verification.
TrustedHostsRequestFactory.php file core/lib/Drupal/Core/Http/TrustedHostsRequestFactory.php
TrustedHostsRequestFactory::$host property core/lib/Drupal/Core/Http/TrustedHostsRequestFactory.php The host of the main request.
TrustedHostsRequestFactory::createRequest function core/lib/Drupal/Core/Http/TrustedHostsRequestFactory.php Creates a new request object.
TrustedHostsRequestFactory::__construct function core/lib/Drupal/Core/Http/TrustedHostsRequestFactory.php Creates a new TrustedHostsRequestFactory.
TrustedHostsRequestFactoryTest class core/tests/Drupal/Tests/Core/Http/TrustedHostsRequestFactoryTest.php Tests the trusted hosts request factory.
TrustedHostsRequestFactoryTest.php file core/tests/Drupal/Tests/Core/Http/TrustedHostsRequestFactoryTest.php
TrustedHostsRequestFactoryTest::providerTestCreateRequest function core/tests/Drupal/Tests/Core/Http/TrustedHostsRequestFactoryTest.php Provides data for testCreateRequest().
TrustedHostsRequestFactoryTest::testCreateRequest function core/tests/Drupal/Tests/Core/Http/TrustedHostsRequestFactoryTest.php Tests TrustedHostsRequestFactory::createRequest().
TrustedHostsTest::testFakeRequests function core/modules/system/tests/src/Functional/System/TrustedHostsTest.php Tests that fake requests have the proper host configured.
TrustedHostsTestController::fakeRequestHost function core/modules/system/tests/modules/trusted_hosts_test/src/Controller/TrustedHostsTestController.php Creates a fake request and prints out its host.
UiHelperTrait::prepareRequest function core/tests/Drupal/Tests/UiHelperTrait.php Prepare for a request to testing site.
UnroutedUrlAssembler::$requestStack property core/lib/Drupal/Core/Utility/UnroutedUrlAssembler.php A request stack object.
UnroutedUrlAssemblerTest::$requestStack property core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php The request stack.
UnroutedUrlAssemblerTest::setupRequestStack function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php Setups the request stack for a given subdir.
UnroutedUrlTest::testCreateFromRequest function core/tests/Drupal/Tests/Core/UnroutedUrlTest.php Tests the createFromRequest method.
UpdateKernel::setupRequestMatch function core/lib/Drupal/Core/Update/UpdateKernel.php Set up the request with fake routing data for update.php.
UpdateRootFactory::$requestStack property core/modules/update/src/UpdateRootFactory.php The request stack.
Url::createFromRequest function core/lib/Drupal/Core/Url.php Returns the Url object matching a request.
UrlGenerator::$requestStack property core/lib/Drupal/Core/Routing/UrlGenerator.php A request stack object.
UrlGeneratorTest::$requestStack property core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php The request stack.

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