60 string references to request_stack in Drupal 10
- AnonymousPrivateTempStoreTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ TempStore/ AnonymousPrivateTempStoreTest.php - AreaDisplayLinkTest::testAreaDisplayLink in core/
modules/ views/ tests/ src/ Kernel/ Handler/ AreaDisplayLinkTest.php - Tests the views area display_link handler.
- 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.
- BlockContentCacheTagsTest::testBlock in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentCacheTagsTest.php - Tests that the block is cached with the correct contexts and tags.
- CKEditor5MediaController::create in core/
modules/ ckeditor5/ src/ Controller/ CKEditor5MediaController.php - Instantiates a new instance of this class.
- 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.
- DisplayPageTest::testPageResponses in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ DisplayPageTest.php - Checks the behavior of the page for access denied/not found behaviors.
- Drupal::hasRequest in core/
lib/ Drupal.php - Indicates if there is a currently active request object.
- Drupal::request in core/
lib/ Drupal.php - Retrieves the 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::preHandle in core/
lib/ Drupal/ Core/ DrupalKernel.php - Helper method that does request related initialization.
- DrupalTest::testRequestStack in core/
tests/ Drupal/ Tests/ Core/ DrupalTest.php - Tests the testRequestStack() method.
- EntityQueryTest::testSort in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityQueryTest.php - Tests sort().
- EntityQueryTest::testTableSort in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityQueryTest.php - Tests tablesort().
- EntityUrlLanguageTest::setCurrentRequestForRoute in core/
modules/ language/ tests/ src/ Kernel/ EntityUrlLanguageTest.php - Sets the current request to a specific path with the corresponding route.
- ExternalFormUrlTest::testActionUrlBehavior in core/
tests/ Drupal/ KernelTests/ Core/ Form/ ExternalFormUrlTest.php - Tests form behavior.
- FileUrlGeneratorTest::testGenerateURI in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileUrlGeneratorTest.php - @covers ::generate
- FileUrlGeneratorTest::testGenerateURIWithSchema in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileUrlGeneratorTest.php - @covers ::generate
- FileUrlGeneratorTest::testRelativeFileURL in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileUrlGeneratorTest.php - Tests generate absolute string with relative URL.
- 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.
- FunctionalTestSetupTrait::prepareRequestForGenerator in core/
lib/ Drupal/ Core/ Test/ FunctionalTestSetupTrait.php - Creates a mock request and sets it on the generator.
- HelpBlock::create in core/
modules/ help/ src/ Plugin/ Block/ HelpBlock.php - HttpExceptionNormalizerTest::testNormalize in core/
modules/ jsonapi/ tests/ src/ Unit/ Normalizer/ HttpExceptionNormalizerTest.php - @covers ::normalize
- ImageTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ ImageTest.php - InstallerServiceProvider::register in core/
lib/ Drupal/ Core/ Installer/ InstallerServiceProvider.php - InstallerTestBase::setUp in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerTestBase.php - KernelTestBase::register in core/
tests/ Drupal/ KernelTests/ KernelTestBase.php - Registers test-specific services.
- KernelTestBaseTest::testBootKernel in core/
tests/ Drupal/ KernelTests/ KernelTestBaseTest.php - @covers ::bootKernel
- KernelTestBaseTest::testRegister in core/
tests/ Drupal/ KernelTests/ KernelTestBaseTest.php - @covers ::register
- KernelTestBaseTest::testSetUp in core/
tests/ Drupal/ KernelTests/ KernelTestBaseTest.php - @covers ::setUp
- LanguageNegotiationContentEntityTest::setCurrentRequestForRoute in core/
modules/ language/ tests/ src/ Functional/ LanguageNegotiationContentEntityTest.php - Sets the current request to a specific path with the corresponding route.
- LanguageServiceProvider::alter in core/
modules/ language/ src/ LanguageServiceProvider.php - LanguageUILanguageNegotiationTest::testLanguageDomain in core/
modules/ language/ tests/ src/ Functional/ LanguageUILanguageNegotiationTest.php - Tests URL handling when separate domains are used for multiple languages.
- LoggerChannelFactory::get in core/
lib/ Drupal/ Core/ Logger/ LoggerChannelFactory.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
- PathAliasListBuilder::createInstance in core/
modules/ path/ src/ PathAliasListBuilder.php - Instantiates a new instance of this entity handler.
- PathValidatorTest::testGetUrlIfValidWithoutAccessCheck in core/
tests/ Drupal/ KernelTests/ Core/ Path/ PathValidatorTest.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 - RequestPathTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Plugin/ Condition/ RequestPathTest.php - ServerCommand::boot in core/
lib/ Drupal/ Core/ Command/ ServerCommand.php - Boots up a Drupal environment.
- ServiceDestructionTest::testDestructionUnused in core/
tests/ Drupal/ KernelTests/ Core/ DrupalKernel/ ServiceDestructionTest.php - Verifies that services are not unnecessarily destructed when not used.
- ServiceDestructionTest::testDestructionUsed in core/
tests/ Drupal/ KernelTests/ Core/ DrupalKernel/ ServiceDestructionTest.php - Verifies that services are destructed when used.
- statistics.php in core/
modules/ statistics/ statistics.php - Handles counts of node views via AJAX with minimal bootstrap.
- TableSortExtenderTest::testTableSortInit in core/
tests/ Drupal/ KernelTests/ Core/ Render/ Element/ TableSortExtenderTest.php - Tests \Drupal\Core\Utility\TableSort::getContextFromRequest().
- TagTest::testViewsUiAutocompleteIndividualTags in core/
modules/ views_ui/ tests/ src/ Kernel/ TagTest.php - Tests that comma delimited tags are treated as individual tags.
- TagTest::testViewsUiAutocompleteTag in core/
modules/ views_ui/ tests/ src/ Kernel/ TagTest.php - Tests the ViewsUIController::autocompleteTag() function.
- 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 - UserAccountFormPasswordResetTest::testPasswordResetToken in core/
modules/ user/ tests/ src/ Kernel/ UserAccountFormPasswordResetTest.php - Tests the reset token used only from query string.
- ViewEditForm::create in core/
modules/ views_ui/ src/ ViewEditForm.php - ViewsForm::create in core/
modules/ views/ src/ Form/ ViewsForm.php