91 calls to Drupal::request() in Drupal 10
- AjaxHelperTrait::getRequestWrapperFormat in core/
lib/ Drupal/ Core/ Ajax/ AjaxHelperTrait.php - Gets the wrapper format of the current request.
- batch_process in core/
includes/ form.inc - Processes the batch.
- big_pipe_page_attachments in core/
modules/ big_pipe/ big_pipe.module - Implements hook_page_attachments().
- big_pipe_test_page_top in core/
modules/ big_pipe/ tests/ modules/ big_pipe_test/ big_pipe_test.module - Implements hook_page_top().
- BlockUiTest::testBlockPlacementIndicator in core/
modules/ block/ tests/ src/ Functional/ BlockUiTest.php - Tests the block placement indicator.
- BlockViewBuilderTest::testBlockViewBuilderBuildAlter in core/
modules/ block/ tests/ src/ Kernel/ BlockViewBuilderTest.php - Tests block build altering.
- BlockViewBuilderTest::verifyRenderCacheHandling in core/
modules/ block/ tests/ src/ Kernel/ BlockViewBuilderTest.php - Verifies render cache handling of the block being tested.
- book_node_prepare_form in core/
modules/ book/ book.module - Implements hook_ENTITY_TYPE_prepare_form() for node entities.
- BrowserTestBase::initMink in core/
tests/ Drupal/ Tests/ BrowserTestBase.php - Initializes Mink sessions.
- BrowserTestBase::installDrupal in core/
tests/ Drupal/ Tests/ BrowserTestBase.php - Installs Drupal into the test site.
- CacheTagTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Plugin/ CacheTagTest.php - CacheTest::setUp in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ CacheTest.php - claro_preprocess_block_content_add_list in core/
themes/ claro/ claro.theme - Implements template_preprocess_HOOK() for block_content_add_list.
- Comment::getDefaultHostname in core/
modules/ comment/ src/ Entity/ Comment.php - Returns the default value for entity hostname base field.
- ConfigExportUITest::testExport in core/
modules/ config/ tests/ src/ Functional/ ConfigExportUITest.php - Tests export of configuration.
- config_file_download in core/
modules/ config/ config.module - Implements hook_file_download().
- content_translation_test_form_node_form_alter in core/
modules/ content_translation/ tests/ modules/ content_translation_test/ content_translation_test.module - Implements hook_form_BASE_FORM_ID_alter().
- CorsIntegrationTest::testCrossSiteRequest in core/
tests/ Drupal/ FunctionalTests/ HttpKernel/ CorsIntegrationTest.php - DbLogTest::testDBLogAddAndClear in core/
modules/ dblog/ tests/ src/ Functional/ DbLogTest.php - Tests the addition and clearing of log events through the admin interface.
- DbUpdateController::batchFinished in core/
modules/ system/ src/ Controller/ DbUpdateController.php - Finishes the update process and stores the results for eventual display.
- DemoUmamiProfileTest::drupalLoginWithPassword in core/
profiles/ demo_umami/ tests/ src/ Functional/ DemoUmamiProfileTest.php - Logs in a user using the Mink controlled browser using a password.
- drupal_current_script_url in core/
includes/ install.inc - Returns the URL of the current script, with modified query parameters.
- drupal_install_system in core/
includes/ install.inc - Installs the system module.
- EntityViewBuilderTest::testEntityViewBuilderCache in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityViewBuilderTest.php - Tests entity render cache handling.
- EntityViewBuilderTest::testEntityViewBuilderCacheWithReferences in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityViewBuilderTest.php - Tests entity render cache with references.
- ExposedFormPluginBase::resetForm in core/
modules/ views/ src/ Plugin/ views/ exposed_form/ ExposedFormPluginBase.php - Resets all the states of the exposed form.
- FakeLogEntries::generateLogEntries in core/
modules/ dblog/ tests/ src/ Functional/ FakeLogEntries.php - Generates a number of random database log events.
- FieldEntityOperationsTest::testEntityOperations in core/
modules/ views/ tests/ src/ Functional/ Handler/ FieldEntityOperationsTest.php - Tests entity operations field.
- file_managed_file_save_upload in core/
modules/ file/ file.module - Saves any files that have been uploaded into a managed_file element.
- file_requirements in core/
modules/ file/ file.install - Implements hook_requirements().
- file_save_upload in core/
modules/ file/ file.module - Saves file uploads to a new location.
- FilterHtmlImageSecureTest::testImageSource in core/
modules/ filter/ tests/ src/ Functional/ FilterHtmlImageSecureTest.php - Tests removal of images having a non-local source.
- forum_form_node_form_alter in core/
modules/ forum/ forum.module - Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\NodeForm.
- FunctionsTest::testIndexedKeyedLinks in core/
modules/ system/ tests/ src/ Kernel/ Theme/ FunctionsTest.php - Tests links.html.twig using links with indexed keys.
- FunctionsTest::testLinks in core/
modules/ system/ tests/ src/ Kernel/ Theme/ FunctionsTest.php - Tests links.html.twig.
- ImageStyle::buildUrl in core/
modules/ image/ src/ Entity/ ImageStyle.php - Returns the URL of this image derivative for an original image path or URI.
- install_bootstrap_full in core/
includes/ install.core.inc - Performs a full bootstrap of Drupal during installation.
- install_drupal in core/
includes/ install.core.inc - Installs Drupal either interactively or via an array of passed-in settings.
- install_run_task in core/
includes/ install.core.inc - Runs an individual installation task.
- KernelTestBaseTest::testRegister in core/
tests/ Drupal/ KernelTests/ KernelTestBaseTest.php - @covers ::register
- KernelTestBaseTest::testSetUp in core/
tests/ Drupal/ KernelTests/ KernelTestBaseTest.php - @covers ::setUp
- LanguageSwitchingTest::testLanguageBlockWithDomain in core/
modules/ language/ tests/ src/ Functional/ LanguageSwitchingTest.php - Tests language switcher links for domain based negotiation.
- LanguageUILanguageNegotiationTest::testLanguageDomain in core/
modules/ language/ tests/ src/ Functional/ LanguageUILanguageNegotiationTest.php - Tests URL handling when separate domains are used for multiple languages.
- MailManager::doMail in core/
lib/ Drupal/ Core/ Mail/ MailManager.php - Composes and optionally sends an email message.
- MailTest::testConvertRelativeUrlsIntoAbsolute in core/
modules/ system/ tests/ src/ Kernel/ Mail/ MailTest.php - Checks that relative paths in mails are converted into absolute URLs.
- MailTest::testRenderedElementsUseAbsolutePaths in core/
modules/ system/ tests/ src/ Kernel/ Mail/ MailTest.php - Checks that mails built from render arrays contain absolute paths.
- NodeForm::form in core/
modules/ node/ src/ NodeForm.php - Gets the actual form array to be built.
- NodeRSSContentTest::testUrlHandling in core/
modules/ node/ tests/ src/ Functional/ NodeRSSContentTest.php - Tests relative, root-relative, protocol-relative and absolute URLs.
- olivero_preprocess_html in core/
themes/ olivero/ olivero.theme - Implements hook_preprocess_HOOK() for HTML document templates.
- PhpMail::mail in core/
lib/ Drupal/ Core/ Mail/ Plugin/ Mail/ PhpMail.php - Sends an email message.
- PhpRequirementTest::setUp in core/
modules/ system/ tests/ src/ Functional/ System/ PhpRequirementTest.php - QueryBase::tableSort in core/
lib/ Drupal/ Core/ Entity/ Query/ QueryBase.php - Enables sortable tables for this query.
- QuickEditController::entitySave in core/
modules/ quickedit/ src/ QuickEditController.php - Saves an entity into the database, from PrivateTempStore.
- RegistryTest::testRaceCondition in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ RegistryTest.php - Tests the behavior of the theme registry class.
- RenderCacheIntegrationTest::assertCacheTagsForFieldBasedView in core/
modules/ views/ tests/ src/ Kernel/ RenderCacheIntegrationTest.php - Tests cache tags on output & result cache items for a field-based view.
- RenderElement::preRenderAjaxForm in core/
lib/ Drupal/ Core/ Render/ Element/ RenderElement.php - Adds Ajax information about an element to communicate with JavaScript.
- RenderElementTypesTest::testSystemCompactLink in core/
tests/ Drupal/ KernelTests/ Core/ Render/ Element/ RenderElementTypesTest.php - Tests system #type 'system_compact_link'.
- RssFields::getAbsoluteUrl in core/
modules/ views/ src/ Plugin/ views/ row/ RssFields.php - Convert a rendered URL string to an absolute URL.
- SessionHttpsTest::getGuzzleCookieJar in core/
modules/ system/ tests/ src/ Functional/ Session/ SessionHttpsTest.php - Creates a new Guzzle CookieJar with a Xdebug cookie if necessary.
- session_exists_cache_context_test_page_top in core/
modules/ system/ tests/ modules/ session_exists_cache_context_test/ session_exists_cache_context_test.module - Implements hook_page_top().
- session_test_user_login in core/
modules/ system/ tests/ modules/ session_test/ session_test.module - Implements hook_user_login().
- seven_preprocess_block_content_add_list in core/
themes/ seven/ seven.theme - Implements hook_preprocess_HOOK() for block content add list templates.
- seven_preprocess_html in core/
themes/ seven/ seven.theme - Implements hook_preprocess_HOOK() for HTML document templates.
- shortcut_preprocess_page_title in core/
modules/ shortcut/ shortcut.module - Implements hook_preprocess_HOOK() for page title templates.
- statistics_node_view in core/
modules/ statistics/ statistics.module - Implements hook_ENTITY_TYPE_view() for node entities.
- StyleSerializerTest::addRequestWithFormat in core/
modules/ rest/ tests/ src/ Functional/ Views/ StyleSerializerTest.php - Sets up a request on the request stack with a specified format.
- system_admin_compact_mode in core/
modules/ system/ system.module - Determines whether the current user is in compact mode.
- system_authorized_init in core/
modules/ system/ system.module - Setup a given callback to run via authorize.php with elevated privileges.
- system_requirements in core/
modules/ system/ system.install - Implements hook_requirements().
- TableSortExtender::orderByHeader in core/
lib/ Drupal/ Core/ Database/ Query/ TableSortExtender.php - Order the query based on a header array.
- template_preprocess_block_content_add_list in core/
modules/ block_content/ block_content.pages.inc - Prepares variables for a custom block type creation list templates.
- template_preprocess_table in core/
includes/ theme.inc - Prepares variables for table templates.
- template_preprocess_views_view_table in core/
modules/ views/ views.theme.inc - Prepares variables for views table templates.
- TestContent::subrequestTest in core/
modules/ system/ tests/ modules/ router_test_directory/ src/ TestContent.php - Uses a subrequest to determine the content.
- TestSiteInstallCommand::installDrupal in core/
tests/ Drupal/ TestSite/ Commands/ TestSiteInstallCommand.php - Installs Drupal into the test site.
- ThemeRegistry::__construct in core/
lib/ Drupal/ Core/ Utility/ ThemeRegistry.php - Constructs a ThemeRegistry object.
- TrustedHostsTest::testStatusPageWithConfiguration in core/
modules/ system/ tests/ src/ Functional/ System/ TrustedHostsTest.php - Tests that the status page shows the trusted patterns from settings.php.
- UiHelperTrait::drupalLogin in core/
tests/ Drupal/ Tests/ UiHelperTrait.php - Logs in a user using the Mink controlled browser.
- umami_preprocess_breadcrumb in core/
profiles/ demo_umami/ themes/ umami/ umami.theme - Implements hook_preprocess_breadcrumb().
- UpdateUploaderTestBase::setUp in core/
modules/ update/ tests/ src/ Functional/ UpdateUploaderTestBase.php - update_authorize_install_batch_finished in core/
modules/ update/ update.authorize.inc - Implements callback_batch_finished().
- update_authorize_run_install in core/
modules/ update/ update.authorize.inc - Installs a new project when invoked by authorize.php.
- update_authorize_run_update in core/
modules/ update/ update.authorize.inc - Updates existing projects when invoked by authorize.php.
- update_authorize_update_batch_finished in core/
modules/ update/ update.authorize.inc - Batch callback: Performs actions when the authorized update batch is done.
- update_manager_download_batch_finished in core/
modules/ update/ update.manager.inc - Batch callback: Performs actions when the download batch is completed.
- UrlAlterFunctionalTest::testUrlAlter in core/
modules/ path_alias/ tests/ src/ Functional/ UrlAlterFunctionalTest.php - Tests that URL altering works and that it occurs in the correct order.
- UrlAlterTest::testUrlWithQueryString in core/
tests/ Drupal/ KernelTests/ Core/ Path/ UrlAlterTest.php - ViewUI::renderPreview in core/
modules/ views_ui/ src/ ViewUI.php - _batch_finished in core/
includes/ batch.inc - Ends the batch processing.
- _batch_test_title_callback in core/
modules/ system/ tests/ modules/ batch_test/ batch_test.module - Tests the title on the progress page by performing a batch callback.
- _drupal_log_error in core/
includes/ errors.inc - Logs a PHP error or exception and displays an error page in fatal cases.