Search for theme_

  1. Search 7.x for theme_
  2. Search 8.9.x for theme_
  3. Search 10.3.x for theme_
  4. Search 11.x for theme_
  5. Search main for theme_
  6. Other projects
Title Object type File name Summary
ThemeHandler::getTheme function core/lib/Drupal/Core/Extension/ThemeHandler.php Returns a theme extension object from the currently active theme list.
ThemeHandler::getThemeDirectories function core/lib/Drupal/Core/Extension/ThemeHandler.php Returns an array of directories for all installed themes.
ThemeHandler::hasUi function core/lib/Drupal/Core/Extension/ThemeHandler.php Determines if a theme should be shown in the user interface.
ThemeHandler::listInfo function core/lib/Drupal/Core/Extension/ThemeHandler.php Returns a list of currently installed themes.
ThemeHandler::rebuildThemeData function core/lib/Drupal/Core/Extension/ThemeHandler.php Scans and collects theme extension data and their engines.
ThemeHandler::refreshInfo function core/lib/Drupal/Core/Extension/ThemeHandler.php Refreshes the theme info data of currently installed themes.
ThemeHandler::reset function core/lib/Drupal/Core/Extension/ThemeHandler.php Resets the internal state of the theme handler.
ThemeHandler::themeExists function core/lib/Drupal/Core/Extension/ThemeHandler.php Determines whether a given theme is installed.
ThemeHandler::__construct function core/lib/Drupal/Core/Extension/ThemeHandler.php Constructs a new ThemeHandler.
ThemeHandlerInterface interface core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php Manages the list of available themes.
ThemeHandlerInterface.php file core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php
ThemeHandlerInterface::addTheme function core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php Adds a theme extension to the internal listing.
ThemeHandlerInterface::getBaseThemes function core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php Finds all the base themes for the specified theme.
ThemeHandlerInterface::getDefault function core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php Returns the default theme.
ThemeHandlerInterface::getName function core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php Gets the human readable name of a given theme.
ThemeHandlerInterface::getTheme function core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php Returns a theme extension object from the currently active theme list.
ThemeHandlerInterface::getThemeDirectories function core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php Returns an array of directories for all installed themes.
ThemeHandlerInterface::hasUi function core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php Determines if a theme should be shown in the user interface.
ThemeHandlerInterface::listInfo function core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php Returns a list of currently installed themes.
ThemeHandlerInterface::rebuildThemeData function core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php Scans and collects theme extension data and their engines.
ThemeHandlerInterface::refreshInfo function core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php Refreshes the theme info data of currently installed themes.
ThemeHandlerInterface::reset function core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php Resets the internal state of the theme handler.
ThemeHandlerInterface::themeExists function core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php Determines whether a given theme is installed.
ThemeHandlerTest class core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php @coversDefaultClass \Drupal\Core\Extension\ThemeHandler[[api-linebreak]]
@group Extension
ThemeHandlerTest.php file core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php Contains \Drupal\Tests\Core\Extension\ThemeHandlerTest.
ThemeHandlerTest::$configFactory property core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php The mocked config factory.
ThemeHandlerTest::$themeHandler property core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php The tested theme handler.
ThemeHandlerTest::$themeList property core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php The theme listing service.
ThemeHandlerTest::setUp function core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php
ThemeHandlerTest::testRebuildThemeData function core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php Tests rebuilding the theme data.
ThemeHandlerTest::testThemeLibrariesEmpty function core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php Tests empty libraries in theme.info.yml file.
ThemeInfoTest class core/modules/system/tests/src/Functional/Theme/ThemeInfoTest.php Tests processing of theme .info.yml properties.
ThemeInfoTest.php file core/modules/system/tests/src/Functional/Theme/ThemeInfoTest.php
ThemeInfoTest::$defaultTheme property core/modules/system/tests/src/Functional/Theme/ThemeInfoTest.php The theme to install as the default for testing.
ThemeInfoTest::$modules property core/modules/system/tests/src/Functional/Theme/ThemeInfoTest.php Modules to enable.
ThemeInfoTest::$state property core/modules/system/tests/src/Functional/Theme/ThemeInfoTest.php The state service used in this test.
ThemeInfoTest::$themeInstaller property core/modules/system/tests/src/Functional/Theme/ThemeInfoTest.php The theme installer used in this test for enabling themes.
ThemeInfoTest::$themeManager property core/modules/system/tests/src/Functional/Theme/ThemeInfoTest.php The theme manager used in this test.
ThemeInfoTest::setUp function core/modules/system/tests/src/Functional/Theme/ThemeInfoTest.php
ThemeInfoTest::testChanges function core/modules/system/tests/src/Functional/Theme/ThemeInfoTest.php Tests that changes to the info file are picked up.
ThemeInfoTest::testStylesheets function core/modules/system/tests/src/Functional/Theme/ThemeInfoTest.php Tests stylesheets-remove.
ThemeInitialization class core/lib/Drupal/Core/Theme/ThemeInitialization.php Provides the theme initialization logic.
ThemeInitialization.php file core/lib/Drupal/Core/Theme/ThemeInitialization.php
ThemeInitialization::$cache property core/lib/Drupal/Core/Theme/ThemeInitialization.php The cache backend to use for the active theme.
ThemeInitialization::$extensions property core/lib/Drupal/Core/Theme/ThemeInitialization.php The extensions that might be attaching assets.
ThemeInitialization::$moduleHandler property core/lib/Drupal/Core/Theme/ThemeInitialization.php The module handler.
ThemeInitialization::$root property core/lib/Drupal/Core/Theme/ThemeInitialization.php The app root.
ThemeInitialization::$themeHandler property core/lib/Drupal/Core/Theme/ThemeInitialization.php The theme handler.
ThemeInitialization::getActiveTheme function core/lib/Drupal/Core/Theme/ThemeInitialization.php Builds up the active theme object from extensions.
ThemeInitialization::getActiveThemeByName function core/lib/Drupal/Core/Theme/ThemeInitialization.php Builds an active theme object.

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