You are here

39 calls to Drupal::theme() in Drupal 10

AjaxTestController::theme in core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php
Returns the used theme.
AlterTest::testDrupalAlter in core/modules/system/tests/src/Functional/Common/AlterTest.php
Tests if the theme has been altered.
AssertContentTrait::assertThemeOutput in core/tests/Drupal/KernelTests/AssertContentTrait.php
Asserts themed output.
batch_process in core/includes/form.inc
Processes the batch.
block_page_top in core/modules/block/block.module
Implements hook_page_top().
CurrentThemeConditionTest::testCurrentTheme in core/tests/Drupal/KernelTests/Core/Plugin/Condition/CurrentThemeConditionTest.php
Tests the current theme condition.
DisplayPageTest::testEmptyRow in core/modules/views/tests/src/Kernel/Plugin/DisplayPageTest.php
Tests the templates with empty rows.
drupal_find_theme_templates in core/includes/theme.inc
Allows themes and/or theme engines to easily discover overridden templates.
drupal_flush_all_caches in core/includes/common.inc
Rebuilds the container, flushes all persistent caches, resets all variables, and rebuilds all data structures.
HistoryTimestampTest::setUp in core/modules/history/tests/src/Kernel/Views/HistoryTimestampTest.php
install_install_profile in core/includes/install.core.inc
Installs the install profile.
install_profile_themes in core/includes/install.core.inc
Installs themes.
KernelTestBaseTest::testRender in core/tests/Drupal/KernelTests/KernelTestBaseTest.php
@covers ::render
KernelTestBaseTest::testRenderWithTheme in core/tests/Drupal/KernelTests/KernelTestBaseTest.php
@covers ::render
LocaleStringIsSafeTest::testLocalizedTokenizedString in core/modules/locale/tests/src/Kernel/LocaleStringIsSafeTest.php
Tests if a translated and tokenized string is properly escaped by Twig.
MaintenanceThemeTest::testMaintenanceTheme in core/tests/Drupal/KernelTests/Core/Theme/MaintenanceThemeTest.php
Tests that the maintenance theme initializes the theme and its base themes.
media_test_embed_entity_view_alter in core/modules/media/tests/modules/media_test_embed/media_test_embed.module
Implements hook_entity_view_alter().
RegistryTest::testMultipleSubThemes in core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php
Tests the theme registry with multiple subthemes.
RegistryTest::testSuggestionPreprocessFunctions in core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php
Tests the theme registry with suggestions.
RegistryTest::testThemeRegistryAlterByTheme in core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php
Tests that the theme registry can be altered by themes.
RegistryTest::testThemeTemplatesRegisteredByModules in core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php
Tests theme-provided templates that are registered by modules.
Stable9TemplateOverrideTest::testStable9TemplateOverrides in core/tests/Drupal/KernelTests/Core/Theme/Stable9TemplateOverrideTest.php
Ensures that Stable 9 overrides all relevant core templates.
StableTemplateOverrideTest::testStableTemplateOverrides in core/tests/Drupal/KernelTests/Core/Theme/StableTemplateOverrideTest.php
Ensures that Stable overrides all relevant core templates.
system_js_settings_alter in core/modules/system/system.module
Implements hook_js_settings_alter().
system_js_settings_build in core/modules/system/system.module
Implements hook_js_settings_build().
system_page_attachments in core/modules/system/system.module
Implements hook_page_attachments().
template_preprocess_page in core/includes/theme.inc
Prepares variables for the page template.
ThemeTest::testThemeDataTypes in core/modules/system/tests/src/Kernel/Theme/ThemeTest.php
Tests that ThemeManager renders the expected data types.
ThemeTestController::nonHtml in core/modules/system/tests/modules/theme_test/src/ThemeTestController.php
Controller to ensure that no theme is initialized.
ThemeTestController::testSuggestion in core/modules/system/tests/modules/theme_test/src/ThemeTestController.php
Calls a theme hook suggestion.
ThemeTestController::testTemplate in core/modules/system/tests/modules/theme_test/src/ThemeTestController.php
Tests template overriding based on filename.
theme_get_setting in core/includes/theme.inc
Retrieves a setting for the current theme or for a given theme.
TwigSettingsTest::testTwigCacheOverride in core/modules/system/tests/src/Functional/Theme/TwigSettingsTest.php
Ensures Twig template cache setting can be overridden.
TwigThemeTestController::phpVariablesRender in core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php
Menu callback for testing PHP variables in a Twig template.
UserFieldsTest::setUp in core/modules/user/tests/src/Kernel/UserFieldsTest.php
_batch_test_theme_callback in core/modules/system/tests/modules/batch_test/batch_test.module
Implements callback_batch_operation().
_drupal_maintenance_theme in core/includes/theme.maintenance.inc
Sets up the theming system for maintenance page.
_system_is_claro_admin_and_not_active in core/modules/system/system.module
Determines if Claro is the admin theme but not the active theme.
_template_preprocess_default_variables in core/includes/theme.inc
Returns hook-independent variables to template_preprocess().