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
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.
LanguageNegotiationContentEntityTest::setCurrentRequestForRoute function core/modules/language/tests/src/Functional/LanguageNegotiationContentEntityTest.php Sets the current request to a specific path with the corresponding route.
LanguageNegotiationSession::$requestStack property core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSession.php The request stack.
LanguageNegotiator::$requestStack property core/modules/language/src/LanguageNegotiator.php The request stack object.
LanguageRequestSubscriber class core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php Sets the $request property on the language manager.
LanguageRequestSubscriber.php file core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php
LanguageRequestSubscriber::$currentUser property core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php The current active user.
LanguageRequestSubscriber::$languageManager property core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php The language manager service.
LanguageRequestSubscriber::$negotiator property core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php The language negotiator.
LanguageRequestSubscriber::$translation property core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php The translation service.
LanguageRequestSubscriber::getSubscribedEvents function core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php Registers the methods in this class that should be listeners.
LanguageRequestSubscriber::onContainerInitializeSubrequestFinished function core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php Initializes config overrides whenever the service container is rebuilt.
LanguageRequestSubscriber::onKernelRequestLanguage function core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php Initializes the language manager at the beginning of the request.
LanguageRequestSubscriber::setLanguageOverrides function core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php Sets the language for config overrides on the language manager.
LanguageRequestSubscriber::__construct function core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php Constructs a LanguageRequestSubscriber object.
LanguageTestController::testSubRequest function core/modules/language/tests/language_test/src/Controller/LanguageTestController.php Uses a sub request to retrieve the 'user' page.
LayoutRestTestBase::request function core/modules/layout_builder/tests/src/Functional/Rest/LayoutRestTestBase.php Performs an HTTP request. Wraps the Guzzle HTTP client.
LinksetControllerTestBase::doRequest function core/modules/system/tests/src/Functional/Menu/LinksetControllerTestBase.php Sends a request to the kernel and makes basic response assertions.
LocalActionManager::$requestStack property core/lib/Drupal/Core/Menu/LocalActionManager.php The request stack.
LocalActionManagerTest::$request property core/tests/Drupal/Tests/Core/Menu/LocalActionManagerTest.php The mocked request.
LocalAwareRedirectResponseTrait::$requestContext property core/lib/Drupal/Core/Routing/LocalAwareRedirectResponseTrait.php The request context.
LocalAwareRedirectResponseTrait::getRequestContext function core/lib/Drupal/Core/Routing/LocalAwareRedirectResponseTrait.php Returns the request context.
LocalAwareRedirectResponseTrait::setRequestContext function core/lib/Drupal/Core/Routing/LocalAwareRedirectResponseTrait.php Sets the request context.
LocaleLookup::$requestStack property core/modules/locale/src/LocaleLookup.php The request stack.
LocaleLookupTest::$requestStack property core/modules/locale/tests/src/Unit/LocaleLookupTest.php The request stack.
LocaleTranslation::$requestStack property core/modules/locale/src/LocaleTranslation.php The request stack.
LocaleTranslationTest::$requestStack property core/modules/locale/tests/src/Unit/LocaleTranslationTest.php The request stack.
LocalTaskManager::$requestStack property core/lib/Drupal/Core/Menu/LocalTaskManager.php The request stack.
LocalTaskManagerTest::$request property core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php The test request.
LoggerChannel::$requestStack property core/lib/Drupal/Core/Logger/LoggerChannel.php The request stack object.
LoggerChannel::setRequestStack function core/lib/Drupal/Core/Logger/LoggerChannel.php Sets the request stack.
LoggerChannelInterface::setRequestStack function core/lib/Drupal/Core/Logger/LoggerChannelInterface.php Sets the request stack.
MailManagerTest::$request property core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php The current request.
MailManagerTest::$requestStack property core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php The request stack.
MaintenanceModeEvents::MAINTENANCE_MODE_REQUEST constant core/lib/Drupal/Core/Site/MaintenanceModeEvents.php The name of the event fired when request is made in maintenance more.
MaintenanceModeSubscriber::onKernelRequestMaintenance function core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php Returns the site maintenance page if the site is offline.
MaintenanceModeSubscriber::onMaintenanceModeRequest function core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php Returns response when site is in maintenance mode and user is not exempt.
MaintenanceModeSubscriber::onMaintenanceModeRequest function core/modules/user/src/EventSubscriber/MaintenanceModeSubscriber.php Logout users if site is in maintenance mode and user is not exempt.
Media::getRequestTime function core/modules/media/src/Entity/Media.php
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.
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.

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