Search for themes

  1. Search 7.x for themes
  2. Search 8.9.x for themes
  3. Search 10.3.x for themes
  4. Search 11.x for themes
  5. Other projects
Title Object type File name Summary
AdminNegotiatorTest::getThemes function core/modules/user/tests/src/Unit/Theme/AdminNegotiatorTest.php Provides a list of theme names to test.
BlockAddTest::testBlockAddThemeSelector function core/modules/block/tests/src/FunctionalJavascript/BlockAddTest.php Tests the AJAX for the theme selector.
BlockForm::themeSwitch function core/modules/block/src/BlockForm.php Handles switching the available regions based on the selected theme.
BlockTest::testBlockThemeSelector function core/modules/block/tests/src/Functional/BlockTest.php Tests that the block form has a theme selector when not passed via the URL.
BlockTheme::$themes property core/modules/block/src/Plugin/migrate/process/BlockTheme.php List of themes available on the destination.
block_themes_installed function core/modules/block/block.module Initializes blocks for installed themes.
breakpoint_themes_installed function core/modules/breakpoint/breakpoint.module Implements hook_themes_installed().
breakpoint_themes_uninstalled function core/modules/breakpoint/breakpoint.module Implements hook_themes_uninstalled().
claro_preprocess_system_themes_page function core/themes/claro/claro.theme Implements hook_preprocess_HOOK() for system_themes_page.
ConfigImporterTest::testInstallBaseAndSubThemes function core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php Tests installing a base themes and sub themes during configuration import.
ConfigImportSubscriber::validateThemes function core/lib/Drupal/Core/EventSubscriber/ConfigImportSubscriber.php Validates theme installations and uninstallations.
ConfigTranslationBlockListBuilder::$themes property core/modules/config_translation/src/Controller/ConfigTranslationBlockListBuilder.php An array of theme info keyed by theme name.
config_translation_themes_installed function core/modules/config_translation/config_translation.module Implements hook_themes_installed().
config_translation_themes_uninstalled function core/modules/config_translation/config_translation.module Implements hook_themes_uninstalled().
CoreThemesAutoloadedForTests class core/tests/Drupal/Tests/Core/Theme/CoreThemesAutoloadedForTests.php Confirms that core/themes is autoloaded for tests.
CoreThemesAutoloadedForTests.php file core/tests/Drupal/Tests/Core/Theme/CoreThemesAutoloadedForTests.php
CoreThemesAutoloadedForTests::testCoreThemesAutoloadedForTests function core/tests/Drupal/Tests/Core/Theme/CoreThemesAutoloadedForTests.php Confirms that core/themes is autoloaded for tests.
EntityFilteringThemeTest::$themes property core/modules/system/tests/src/Functional/Theme/EntityFilteringThemeTest.php A list of all available themes.
help_topics_themes_installed function core/modules/help_topics/help_topics.module Implements hook_themes_installed().
help_topics_themes_uninstalled function core/modules/help_topics/help_topics.module Implements hook_themes_uninstalled().
hook_system_themes_page_alter function core/modules/system/system.api.php Alters theme operation links.
hook_themes_installed function core/lib/Drupal/Core/Render/theme.api.php Respond to themes being installed.
hook_themes_uninstalled function core/lib/Drupal/Core/Render/theme.api.php Respond to themes being uninstalled.
InstallerThemesBlocksProfileTest class core/tests/Drupal/FunctionalTests/Installer/InstallerThemesBlocksProfileTest.php Verifies that the installer does not generate theme blocks.
InstallerThemesBlocksProfileTest.php file core/tests/Drupal/FunctionalTests/Installer/InstallerThemesBlocksProfileTest.php
InstallerThemesBlocksProfileTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Installer/InstallerThemesBlocksProfileTest.php The theme to install as the default for testing.
InstallerThemesBlocksProfileTest::$profile property core/tests/Drupal/FunctionalTests/Installer/InstallerThemesBlocksProfileTest.php The installation profile to install.
InstallerThemesBlocksProfileTest::testInstaller function core/tests/Drupal/FunctionalTests/Installer/InstallerThemesBlocksProfileTest.php Verify that there is no automatic block generation.
install_profile_themes function core/includes/install.core.inc Installs themes.
LayoutBuilderThemeSuggestionsTest class core/modules/layout_builder/tests/src/Functional/LayoutBuilderThemeSuggestionsTest.php Tests template suggestions.
LayoutBuilderThemeSuggestionsTest.php file core/modules/layout_builder/tests/src/Functional/LayoutBuilderThemeSuggestionsTest.php
LayoutBuilderThemeSuggestionsTest::$defaultTheme property core/modules/layout_builder/tests/src/Functional/LayoutBuilderThemeSuggestionsTest.php The theme to install as the default for testing.
LayoutBuilderThemeSuggestionsTest::$modules property core/modules/layout_builder/tests/src/Functional/LayoutBuilderThemeSuggestionsTest.php Modules to enable.
LayoutBuilderThemeSuggestionsTest::setUp function core/modules/layout_builder/tests/src/Functional/LayoutBuilderThemeSuggestionsTest.php
LayoutBuilderThemeSuggestionsTest::testFieldBlockViewModeTemplates function core/modules/layout_builder/tests/src/Functional/LayoutBuilderThemeSuggestionsTest.php Tests that of view mode specific field templates are suggested.
LayoutBuilderThemeSuggestionsTest::testLayoutListSuggestion function core/modules/layout_builder/tests/src/Functional/LayoutBuilderThemeSuggestionsTest.php Tests alterations of the layout list via preprocess functions.
locale_themes_installed function core/modules/locale/locale.module Implements hook_themes_installed().
locale_themes_uninstalled function core/modules/locale/locale.module Implements hook_themes_uninstalled().
MigrateGlobalThemeSettingsTest class core/modules/system/tests/src/Kernel/Migrate/d7/MigrateGlobalThemeSettingsTest.php Tests migration of global theme settings variables to configuration.
MigrateGlobalThemeSettingsTest.php file core/modules/system/tests/src/Kernel/Migrate/d7/MigrateGlobalThemeSettingsTest.php
MigrateGlobalThemeSettingsTest::$modules property core/modules/system/tests/src/Kernel/Migrate/d7/MigrateGlobalThemeSettingsTest.php Modules to enable.
MigrateGlobalThemeSettingsTest::setUp function core/modules/system/tests/src/Kernel/Migrate/d7/MigrateGlobalThemeSettingsTest.php
MigrateGlobalThemeSettingsTest::testMigrateThemeSettings function core/modules/system/tests/src/Kernel/Migrate/d7/MigrateGlobalThemeSettingsTest.php Tests migration of global theme settings to configuration.
MigrateThemeSettingsTest class core/modules/system/tests/src/Kernel/Migrate/d7/MigrateThemeSettingsTest.php Tests migration of Theme settings variables to configuration.
MigrateThemeSettingsTest.php file core/modules/system/tests/src/Kernel/Migrate/d7/MigrateThemeSettingsTest.php
MigrateThemeSettingsTest::setUp function core/modules/system/tests/src/Kernel/Migrate/d7/MigrateThemeSettingsTest.php
MigrateThemeSettingsTest::testMigrateThemeSettings function core/modules/system/tests/src/Kernel/Migrate/d7/MigrateThemeSettingsTest.php Tests migration of theme settings to variables to configuration.
ModuleRequiredByThemesUninstallValidator class core/lib/Drupal/Core/ProxyClass/Extension/ModuleRequiredByThemesUninstallValidator.php Provides a proxy class for \Drupal\Core\Extension\ModuleRequiredByThemesUninstallValidator.
ModuleRequiredByThemesUninstallValidator class core/lib/Drupal/Core/Extension/ModuleRequiredByThemesUninstallValidator.php Ensures modules cannot be uninstalled if enabled themes depend on them.
ModuleRequiredByThemesUninstallValidator.php file core/lib/Drupal/Core/ProxyClass/Extension/ModuleRequiredByThemesUninstallValidator.php

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