Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
ThemeManager::setActiveTheme function core/lib/Drupal/Core/Theme/ThemeManager.php
ThemeManager::setThemeRegistry function core/lib/Drupal/Core/Theme/ThemeManager.php Sets the theme registry.
ThemeManager::__construct function core/lib/Drupal/Core/Theme/ThemeManager.php
ThemeManagerInterface interface core/lib/Drupal/Core/Theme/ThemeManagerInterface.php Provides a high level access to the active theme and methods to use it.
ThemeManagerInterface.php file core/lib/Drupal/Core/Theme/ThemeManagerInterface.php
ThemeManagerInterface::alter function core/lib/Drupal/Core/Theme/ThemeManagerInterface.php Passes alterable variables to specific $theme_TYPE_alter() implementations.
ThemeManagerInterface::alterForTheme function core/lib/Drupal/Core/Theme/ThemeManagerInterface.php Provides an alter hook for a specific theme.
ThemeManagerInterface::getActiveTheme function core/lib/Drupal/Core/Theme/ThemeManagerInterface.php Returns the active theme object.
ThemeManagerInterface::getThemeEngine function core/lib/Drupal/Core/Theme/ThemeManagerInterface.php Returns the theme engine if it exists.
ThemeManagerInterface::hasActiveTheme function core/lib/Drupal/Core/Theme/ThemeManagerInterface.php Determines whether there is an active theme.
ThemeManagerInterface::invoke function core/lib/Drupal/Core/Theme/ThemeManagerInterface.php Invokes a hook in a particular theme.
ThemeManagerInterface::invokeAllWith function core/lib/Drupal/Core/Theme/ThemeManagerInterface.php Executes a callback for each implementation of a hook for a theme.
ThemeManagerInterface::render function core/lib/Drupal/Core/Theme/ThemeManagerInterface.php Generates themed output.
ThemeManagerInterface::resetActiveTheme function core/lib/Drupal/Core/Theme/ThemeManagerInterface.php Resets the current active theme.
ThemeManagerInterface::setActiveTheme function core/lib/Drupal/Core/Theme/ThemeManagerInterface.php Sets the current active theme manually.
ThemeNegotiator class core/lib/Drupal/Core/Theme/ThemeNegotiator.php Provides a class which determines the active theme of the page.
ThemeNegotiator.php file core/lib/Drupal/Core/Theme/ThemeNegotiator.php
ThemeNegotiator::$classResolver property core/lib/Drupal/Core/Theme/ThemeNegotiator.php The class resolver.
ThemeNegotiator::$negotiators property core/lib/Drupal/Core/Theme/ThemeNegotiator.php Holds an array of theme negotiator IDs, sorted by priority.
ThemeNegotiator::$themeAccess property core/lib/Drupal/Core/Theme/ThemeNegotiator.php The access checker for themes.
ThemeNegotiator::applies function core/lib/Drupal/Core/Theme/ThemeNegotiator.php
ThemeNegotiator::determineActiveTheme function core/lib/Drupal/Core/Theme/ThemeNegotiator.php
ThemeNegotiator::__construct function core/lib/Drupal/Core/Theme/ThemeNegotiator.php Constructs a new ThemeNegotiator.
ThemeNegotiatorInterface interface core/lib/Drupal/Core/Theme/ThemeNegotiatorInterface.php Defines an interface for classes which determine the active theme.
ThemeNegotiatorInterface.php file core/lib/Drupal/Core/Theme/ThemeNegotiatorInterface.php
ThemeNegotiatorInterface::applies function core/lib/Drupal/Core/Theme/ThemeNegotiatorInterface.php Whether this theme negotiator should be used to set the theme.
ThemeNegotiatorInterface::determineActiveTheme function core/lib/Drupal/Core/Theme/ThemeNegotiatorInterface.php Determine the active theme for the request.
ThemeNegotiatorTest class core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php Tests Drupal\Core\Theme\ThemeNegotiator.
ThemeNegotiatorTest.php file core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php
ThemeNegotiatorTest::$container property core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php The container builder.
ThemeNegotiatorTest::$requestStack property core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php The request stack.
ThemeNegotiatorTest::$themeAccessCheck property core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php The mocked theme access checker.
ThemeNegotiatorTest::$themeNegotiator property core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php The actual tested theme negotiator.
ThemeNegotiatorTest::createThemeNegotiator function core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php Creates a new theme negotiator instance.
ThemeNegotiatorTest::setUp function core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php
ThemeNegotiatorTest::testDetermineActiveTheme function core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php Tests determining the theme.
ThemeNegotiatorTest::testDetermineActiveThemeWithAccessCheck function core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php Tests determining with two negotiators of which just one returns access.
ThemeNegotiatorTest::testDetermineActiveThemeWithNotApplyingNegotiator function core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php Tests determining with two negotiators of which one does not apply.
ThemeNegotiatorTest::testDetermineActiveThemeWithPriority function core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php Tests determining with two negotiators checking the priority.
ThemePageTestHooks class core/modules/system/tests/modules/theme_page_test/src/Hook/ThemePageTestHooks.php Hook implementations for theme_page_test.
ThemePageTestHooks.php file core/modules/system/tests/modules/theme_page_test/src/Hook/ThemePageTestHooks.php
ThemePageTestHooks::systemInfoAlter function core/modules/system/tests/modules/theme_page_test/src/Hook/ThemePageTestHooks.php Implements hook_system_info_alter().
ThemePreprocess class core/lib/Drupal/Core/Theme/ThemePreprocess.php Preprocess for common/core theme templates.
ThemePreprocess.php file core/lib/Drupal/Core/Theme/ThemePreprocess.php
ThemePreprocess::preprocessContainer function core/lib/Drupal/Core/Theme/ThemePreprocess.php Prepares variables for container templates.
ThemePreprocess::preprocessHtml function core/lib/Drupal/Core/Theme/ThemePreprocess.php Prepares variables for HTML document templates.
ThemePreprocess::preprocessInstallPage function core/lib/Drupal/Core/Theme/ThemePreprocess.php Prepares variables for install page templates.
ThemePreprocess::preprocessItemList function core/lib/Drupal/Core/Theme/ThemePreprocess.php Prepares variables for item list templates.
ThemePreprocess::preprocessLinks function core/lib/Drupal/Core/Theme/ThemePreprocess.php Prepares variables for links templates.
ThemePreprocess::preprocessMaintenancePage function core/lib/Drupal/Core/Theme/ThemePreprocess.php Prepares variables for maintenance page templates.

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