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 11.x for request
  5. Other projects
Title Object type File name Summary
MediaLibraryState::fromRequest function core/modules/media_library/src/MediaLibraryState.php Get the media library state from a request.
MediaLibraryStateTest::providerFromRequest function core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php Data provider for testFromRequest().
MediaLibraryStateTest::testFromRequest function core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php Tests the hash validation when the state is created from a request.
MediaLibraryStateTest::testFromRequestQueryLess function core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php @covers ::fromRequest
MediaLibraryUiBuilder::$request property core/modules/media_library/src/MediaLibraryUiBuilder.php The currently active request object.
MediaTestBase::getLastPreviewRequestTransferSize function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTestBase.php Gets the transfer size of the last preview request.
MemoryBackend::$requestStack property core/lib/Drupal/Core/Flood/MemoryBackend.php The request stack.
MemoryBackend::getRequestTime function core/lib/Drupal/Core/Cache/MemoryBackend.php Wrapper method for REQUEST_TIME constant.
MenuActiveTrailTest::$requestStack property core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php The test request stack.
MenuRouterTest::doTestThemeCallbackNoThemeRequested function core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php Tests the theme negotiation when no theme is requested.
MockClient::doRequest function core/tests/Drupal/Tests/Core/Test/WebAssertTest.php
MockController::getControllerWithRequestAndRouteMatch function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockControllerPsr7::getControllerWithRequestAndRouteMatch function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php
MockMatcher::matchRequest function core/modules/system/tests/src/Functional/Routing/MockMatcher.php
MockRouteProvider::getRouteCollectionForRequest function core/modules/system/src/Tests/Routing/MockRouteProvider.php Implements \Drupal\Core\Routing\RouteProviderInterface::getRouteCollectionForRequest().
NegotiationMiddlewareTest::testUnknownContentTypeButAjaxRequest function core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php Tests the getContentType() method when no priority format is found but it's an AJAX request.
NodeStatisticsDatabaseStorage::$requestStack property core/modules/statistics/src/NodeStatisticsDatabaseStorage.php The request stack.
NodeStatisticsDatabaseStorage::getRequestTime function core/modules/statistics/src/NodeStatisticsDatabaseStorage.php Get current request time.
OptionsRequestSubscriber class core/lib/Drupal/Core/EventSubscriber/OptionsRequestSubscriber.php Handles options requests.
OptionsRequestSubscriber.php file core/lib/Drupal/Core/EventSubscriber/OptionsRequestSubscriber.php
OptionsRequestSubscriber::$routeProvider property core/lib/Drupal/Core/EventSubscriber/OptionsRequestSubscriber.php The route provider.
OptionsRequestSubscriber::getSubscribedEvents function core/lib/Drupal/Core/EventSubscriber/OptionsRequestSubscriber.php
OptionsRequestSubscriber::onRequest function core/lib/Drupal/Core/EventSubscriber/OptionsRequestSubscriber.php Tries to handle the options request.
OptionsRequestSubscriber::__construct function core/lib/Drupal/Core/EventSubscriber/OptionsRequestSubscriber.php Creates a new OptionsRequestSubscriber instance.
OptionsRequestSubscriberTest class core/tests/Drupal/Tests/Core/EventSubscriber/OptionsRequestSubscriberTest.php @coversDefaultClass \Drupal\Core\EventSubscriber\OptionsRequestSubscriber
@group EventSubscriber
OptionsRequestSubscriberTest.php file core/tests/Drupal/Tests/Core/EventSubscriber/OptionsRequestSubscriberTest.php
OptionsRequestSubscriberTest::providerTestOnRequestWithOptionsRequest function core/tests/Drupal/Tests/Core/EventSubscriber/OptionsRequestSubscriberTest.php
OptionsRequestSubscriberTest::testWithNonOptionRequest function core/tests/Drupal/Tests/Core/EventSubscriber/OptionsRequestSubscriberTest.php @covers ::onRequest
OptionsRequestSubscriberTest::testWithOptionsRequest function core/tests/Drupal/Tests/Core/EventSubscriber/OptionsRequestSubscriberTest.php @covers ::onRequest
@dataProvider providerTestOnRequestWithOptionsRequest
OptionsRequestSubscriberTest::testWithoutMatchingRoutes function core/tests/Drupal/Tests/Core/EventSubscriber/OptionsRequestSubscriberTest.php @covers ::onRequest
options_request_listener service core/core.services.yml Drupal\Core\EventSubscriber\OptionsRequestSubscriber
PageCache::$requestPolicy property core/modules/page_cache/src/StackMiddleware/PageCache.php A policy rule determining the cacheability of a request.
PageCacheTest::testConditionalRequests function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests support of requests with If-Modified-Since and If-None-Match headers.
PageCacheTest::testQueryParameterFormatRequests function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests support for different cache items with different request formats.
PagerParameters::$requestStack property core/lib/Drupal/Core/Pager/PagerParameters.php The HTTP request stack.
page_cache_request_policy service core/core.services.yml Drupal\Core\PageCache\DefaultRequestPolicy
PathAliasListBuilder::$currentRequest property core/modules/path/src/PathAliasListBuilder.php The current request.
PathBasedBreadcrumbBuilder::getRequestForPath function core/modules/system/src/PathBasedBreadcrumbBuilder.php Matches a path in the router.
PathBasedBreadcrumbBuilderTest::$requestMatcher property core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php The request matching mock object.
PhpMail::$request property core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php The currently active request object.
PhpMailTest::$request property core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/PhpMailTest.php The current request.
PhpMailTest::$requestStack property core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/PhpMailTest.php The request stack.
PrivateTempStore::$requestStack property core/lib/Drupal/Core/TempStore/PrivateTempStore.php The request stack.
PrivateTempStoreFactory::$requestStack property core/lib/Drupal/Core/TempStore/PrivateTempStoreFactory.php The request stack.
PrivateTempStoreTest::$requestStack property core/tests/Drupal/Tests/Core/TempStore/PrivateTempStoreTest.php The request stack.
ProviderRepositoryTest::testRequestException function core/modules/media/tests/src/Unit/ProviderRepositoryTest.php Tests handling of exceptions when fetching the provider database.
psr17.server_request_factory service core/core.services.yml GuzzleHttp\Psr7\HttpFactory
Psr7RequestValueResolver class core/lib/Drupal/Core/Controller/ArgumentResolver/Psr7RequestValueResolver.php Yields a PSR7 request object based on the request object passed along.
Psr7RequestValueResolver.php file core/lib/Drupal/Core/Controller/ArgumentResolver/Psr7RequestValueResolver.php
Psr7RequestValueResolver::$httpMessageFactory property core/lib/Drupal/Core/Controller/ArgumentResolver/Psr7RequestValueResolver.php The PSR-7 converter.

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