54 string references to request_stack
- AccessCheck::create in core/
modules/ system/ tests/ modules/ menu_test/ src/ Access/ AccessCheck.php - Instantiates a new instance of this class.
- AssertViewsCacheTagsTrait::assertViewsCacheTags in core/
modules/ views/ src/ Tests/ AssertViewsCacheTagsTrait.php - Asserts a view's result & render cache items' cache tags.
- AssertViewsCacheTagsTrait::assertViewsCacheTagsFromStaticRenderArray in core/
modules/ views/ src/ Tests/ AssertViewsCacheTagsTrait.php - Asserts a view's result & render cache items' cache tags.
- BigPipeTest::setCsrfTokenSeedInTestEnvironment in core/
modules/ big_pipe/ tests/ src/ Functional/ BigPipeTest.php - Ensures CSRF tokens can be generated for the current user's session.
- BlockContentAddLocalAction::create in core/
modules/ block_content/ src/ Plugin/ Menu/ LocalAction/ BlockContentAddLocalAction.php - Creates an instance of the plugin.
- CommentDefaultFormatterCacheTagsTest::setUp in core/
modules/ comment/ tests/ src/ Kernel/ CommentDefaultFormatterCacheTagsTest.php - CommentHostnameTest::testGetDefaultHostname in core/
modules/ comment/ tests/ src/ Kernel/ CommentHostnameTest.php - Tests hostname default value callback.
- CommentLockTest::testLocks in core/
modules/ comment/ tests/ src/ Unit/ Entity/ CommentLockTest.php - Tests the lock behavior.
- Date::create in core/
modules/ datetime/ src/ Plugin/ views/ filter/ Date.php - Creates an instance of the plugin.
- Drupal::hasRequest in core/
lib/ Drupal.php - Indicates if there is a currently active request object.
- Drupal::requestStack in core/
lib/ Drupal.php - Retrieves the request stack.
- DrupalKernel::initializeContainer in core/
lib/ Drupal/ Core/ DrupalKernel.php - Initializes the service container.
- DrupalKernel::resetContainer in core/
lib/ Drupal/ Core/ DrupalKernel.php - Force a container reset.
- DrupalKernelTest::testResetContainer in core/
tests/ Drupal/ KernelTests/ Core/ DrupalKernel/ DrupalKernelTest.php - @covers ::resetContainer
- DrupalTest::testRequestStack in core/
tests/ Drupal/ Tests/ Core/ DrupalTest.php - Tests the testRequestStack() method.
- ExternalFormUrlTest::testActionUrlBehavior in core/
tests/ Drupal/ KernelTests/ Core/ Form/ ExternalFormUrlTest.php - Tests form behavior.
- FieldPluginBaseTest::setUp in core/
modules/ views/ tests/ src/ Unit/ Plugin/ field/ FieldPluginBaseTest.php - FileSaveUploadTest::setUp in core/
modules/ file/ tests/ src/ Kernel/ FileSaveUploadTest.php - FileUploadHandlerTest::testLegacyExtensions in core/
modules/ file/ tests/ src/ Kernel/ FileUploadHandlerTest.php - Tests the legacy extension support.
- FileUploadHandlerTest::testLockAcquireException in core/
modules/ file/ tests/ src/ Kernel/ FileUploadHandlerTest.php - Test the lock acquire exception.
- FloodTest::floodBackendProvider in core/
modules/ system/ tests/ src/ Kernel/ System/ FloodTest.php - Provides an array of backends for testClearByPrefix.
- FloodTest::testDatabaseBackend in core/
modules/ system/ tests/ src/ Kernel/ System/ FloodTest.php - Tests flood control database backend.
- FormActionXssTest::testFormActionXss in core/
tests/ Drupal/ KernelTests/ Core/ Form/ FormActionXssTest.php - Tests form action attribute for XSS.
- FormBase::getRequest in core/
lib/ Drupal/ Core/ Form/ FormBase.php - Gets the request object.
- InstallerServiceProvider::register in core/
lib/ Drupal/ Core/ Installer/ InstallerServiceProvider.php - Registers services to the container.
- InstallerTestBase::installDrupal in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerTestBase.php - We are testing the installer, so set up a minimal environment for that.
- KernelTestBase::register in core/
tests/ Drupal/ KernelTests/ KernelTestBase.php - Registers test-specific services.
- KernelTestBaseTest::testSetUp in core/
tests/ Drupal/ KernelTests/ KernelTestBaseTest.php - @covers ::setUp
- LanguageNegotiationSession::create in core/
modules/ language/ src/ Plugin/ LanguageNegotiation/ LanguageNegotiationSession.php - Creates an instance of the plugin.
- LanguageServiceProvider::alter in core/
modules/ language/ src/ LanguageServiceProvider.php - Modifies existing service definitions.
- LoggerChannelFactory::get in core/
lib/ Drupal/ Core/ Logger/ LoggerChannelFactory.php - LoggerChannelFactory::__construct in core/
lib/ Drupal/ Core/ Logger/ LoggerChannelFactory.php - Constructs a LoggerChannelFactory.
- LoggerChannelFactoryTest::testDeprecatedGetContainer in core/
tests/ Drupal/ Tests/ Core/ Logger/ LoggerChannelFactoryTest.php - @covers ::__get @group legacy
- MailManagerTest::setUpMailManager in core/
tests/ Drupal/ Tests/ Core/ Mail/ MailManagerTest.php - Sets up the mail manager for testing.
- NavigationMenuBlockTest::setUp in core/
modules/ navigation/ tests/ src/ Kernel/ NavigationMenuBlockTest.php - NavigationMenuMarkupTest::setUp in core/
modules/ navigation/ tests/ src/ Kernel/ NavigationMenuMarkupTest.php - PagerManagerTest::testFindPage in core/
tests/ Drupal/ KernelTests/ Core/ Pager/ PagerManagerTest.php - @covers ::findPage
- PagerManagerTest::testGetUpdatedParameters in core/
tests/ Drupal/ KernelTests/ Core/ Pager/ PagerManagerTest.php - @covers ::getUpdatedParameters
- PathValidatorTest::testGetUrlIfValidWithoutAccessCheck in core/
tests/ Drupal/ KernelTests/ Core/ Path/ PathValidatorTest.php - PhpMailTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Mail/ Plugin/ Mail/ PhpMailTest.php - RenderElementTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Render/ Element/ RenderElementTest.php - RequestPagerTest::testFindPage in core/
tests/ Drupal/ KernelTests/ Core/ Pager/ RequestPagerTest.php - @covers ::findPage
- RequestPagerTest::testGetQueryParameters in core/
tests/ Drupal/ KernelTests/ Core/ Pager/ RequestPagerTest.php - @covers ::getQueryParameters
- RequestPath::create in core/
modules/ system/ src/ Plugin/ Condition/ RequestPath.php - Creates an instance of the plugin.
- RequestPathTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Plugin/ Condition/ RequestPathTest.php - RequirementsTest::setServerSoftware in core/
modules/ file/ tests/ src/ Kernel/ RequirementsTest.php - Sets the server software attribute in the request.
- ResponseStatus::create in core/
modules/ system/ src/ Plugin/ Condition/ ResponseStatus.php - Creates an instance of the plugin.
- ResponseStatusTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Plugin/ Condition/ ResponseStatusTest.php - SharedTempStoreTest::testSerialization in core/
tests/ Drupal/ Tests/ Core/ TempStore/ SharedTempStoreTest.php - Tests the serialization of a shared temp store.
- StyleSerializerEntityTest::testLivePreview in core/
modules/ rest/ tests/ src/ Functional/ Views/ StyleSerializerEntityTest.php - Tests the live preview output for json output.
- TempStoreDatabaseTest::testSharedTempStore in core/
tests/ Drupal/ KernelTests/ Core/ TempStore/ TempStoreDatabaseTest.php - Tests the SharedTempStore API.
- UpdateKernel::handle in core/
lib/ Drupal/ Core/ Update/ UpdateKernel.php - ViewEditForm::create in core/
modules/ views_ui/ src/ ViewEditForm.php - Instantiates a new instance of this class.
- ViewsForm::create in core/
modules/ views/ src/ Form/ ViewsForm.php - Instantiates a new instance of this class.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.