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
StyleSerializerEntityTest::addRequestWithFormat function core/modules/rest/tests/src/Functional/Views/StyleSerializerEntityTest.php Sets up a request on the request stack with a specified format.
StyleSerializerTest::addRequestWithFormat function core/modules/rest/tests/src/Functional/Views/StyleSerializerTest.php Sets up a request on the request stack with a specified format.
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.
TemplateProjectTestBase::assertRequestedChangesWereLogged function core/modules/package_manager/tests/src/Build/TemplateProjectTestBase.php Asserts changes requested during the stage life cycle were logged.
TemplateProjectTestBase::makePackageManagerTestApiRequest function core/modules/package_manager/tests/src/Build/TemplateProjectTestBase.php Gets a /package-manager-test-api response.
TestClass::onKernelRequestTest function core/modules/system/tests/modules/service_provider_test/src/TestClass.php A simple kernel listener method.
TestContent::subrequestTest function core/modules/system/tests/modules/router_test_directory/src/TestContent.php Uses a subrequest to determine the content.
TestController::accessRequest function core/tests/Drupal/Tests/Core/Access/CustomAccessCheckTest.php
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.
TestTime::getRequestTime function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php Returns the timestamp for the current request.
ThemeEarlyInitializationTest::testRequestListener function core/modules/system/tests/src/Functional/Theme/ThemeEarlyInitializationTest.php Tests 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::$proxyRequestTime property core/lib/Drupal/Component/Datetime/Time.php A proxied request time if the request time is not available.
Time::$requestStack property core/lib/Drupal/Component/Datetime/Time.php The request stack.
Time::getProxyRequestMicroTime function core/lib/Drupal/Component/Datetime/Time.php Returns a mimic of the timestamp of the current request.
Time::getProxyRequestTime function core/lib/Drupal/Component/Datetime/Time.php Returns a mimic of the timestamp of the current request.
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
TimeWithNoRequestTest class core/tests/Drupal/Tests/Component/Datetime/TimeWithNoRequestTest.php Tests that getRequest(Micro)Time works when no underlying request exists.
TimeWithNoRequestTest.php file core/tests/Drupal/Tests/Component/Datetime/TimeWithNoRequestTest.php
TimeWithNoRequestTest::$time property core/tests/Drupal/Tests/Component/Datetime/TimeWithNoRequestTest.php The time class for testing.
TimeWithNoRequestTest::setUp function core/tests/Drupal/Tests/Component/Datetime/TimeWithNoRequestTest.php
TimeWithNoRequestTest::testGetRequestMicroTimeImmutable function core/tests/Drupal/Tests/Component/Datetime/TimeWithNoRequestTest.php Tests the getRequestMicroTime method.
TimeWithNoRequestTest::testGetRequestTimeImmutable function core/tests/Drupal/Tests/Component/Datetime/TimeWithNoRequestTest.php Tests the getRequestTime method.
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().

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