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
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
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.
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.
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.
Psr7RequestValueResolver::resolve function core/lib/Drupal/Core/Controller/ArgumentResolver/Psr7RequestValueResolver.php
Psr7RequestValueResolver::__construct function core/lib/Drupal/Core/Controller/ArgumentResolver/Psr7RequestValueResolver.php Constructs a new ControllerResolver.
RedirectDestination::$requestStack property core/lib/Drupal/Core/Routing/RedirectDestination.php The request stack.
RedirectDestinationTest::$requestStack property core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php The request stack.
RedirectResponseSubscriberTest::$requestContext property core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php The mocked request context.
RenderElementTest::$requestStack property core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php The request stack.
RendererPlaceholdersTest::testCacheableParentWithPostRequest function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php @covers ::render
@covers ::doRender
@covers \Drupal\Core\Render\RenderCache::get
@covers ::replacePlaceholders
RendererPlaceholdersTest::testPlaceholderingDisabledForPostRequests function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php @covers ::render
@covers ::doRender
@covers \Drupal\Core\Render\RenderCache::get
@covers \Drupal\Core\Render\PlaceholderingRenderCache::get
@covers \Drupal\Core\Render\PlaceholderingRenderCache::set
@covers ::replacePlaceholders
RendererTestBase::$requestStack property core/tests/Drupal/Tests/Core/Render/RendererTestBase.php
RendererTestBase::setUpRequest function core/tests/Drupal/Tests/Core/Render/RendererTestBase.php Sets up a request object on the request stack.
RequestCloseSubscriber class core/lib/Drupal/Core/EventSubscriber/RequestCloseSubscriber.php Subscriber for all responses.
RequestCloseSubscriber.php file core/lib/Drupal/Core/EventSubscriber/RequestCloseSubscriber.php
RequestCloseSubscriber::$moduleHandler property core/lib/Drupal/Core/EventSubscriber/RequestCloseSubscriber.php

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