Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
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::hasActiveTheme function core/lib/Drupal/Core/Theme/ThemeManagerInterface.php Determines whether there is an active 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 Whether this theme negotiator should be used to set the theme.
ThemeNegotiator::determineActiveTheme function core/lib/Drupal/Core/Theme/ThemeNegotiator.php Determine the active theme for the request.
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 @coversDefaultClass \Drupal\Core\Theme\ThemeNegotiator[[api-linebreak]]
@group Theme
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.
ThemeRegistry class core/lib/Drupal/Core/Utility/ThemeRegistry.php Builds the run-time theme registry.
ThemeRegistry.php file core/lib/Drupal/Core/Utility/ThemeRegistry.php
ThemeRegistry::$completeRegistry property core/lib/Drupal/Core/Utility/ThemeRegistry.php The complete theme registry array.
ThemeRegistry::$persistable property core/lib/Drupal/Core/Utility/ThemeRegistry.php Whether the partial registry can be persisted to the cache.
ThemeRegistry::get function core/lib/Drupal/Core/Utility/ThemeRegistry.php Gets value from the cache.
ThemeRegistry::has function core/lib/Drupal/Core/Utility/ThemeRegistry.php Returns whether data exists for this key.
ThemeRegistry::initializeRegistry function core/lib/Drupal/Core/Utility/ThemeRegistry.php Initializes the full theme registry.
ThemeRegistry::resolveCacheMiss function core/lib/Drupal/Core/Utility/ThemeRegistry.php Resolves a cache miss.
ThemeRegistry::updateCache function core/lib/Drupal/Core/Utility/ThemeRegistry.php Writes a value to the persistent cache immediately.
ThemeRegistry::__construct function core/lib/Drupal/Core/Utility/ThemeRegistry.php Constructs a ThemeRegistry object.
ThemeRegistryLoader class core/lib/Drupal/Core/Template/Loader/ThemeRegistryLoader.php Loads templates based on information from the Drupal theme registry.
ThemeRegistryLoader.php file core/lib/Drupal/Core/Template/Loader/ThemeRegistryLoader.php
ThemeRegistryLoader::$themeRegistry property core/lib/Drupal/Core/Template/Loader/ThemeRegistryLoader.php The theme registry used to determine which template to use.
ThemeRegistryLoader::findTemplate function core/lib/Drupal/Core/Template/Loader/ThemeRegistryLoader.php Finds the path to the requested template.
ThemeRegistryLoader::getCacheKey function core/lib/Drupal/Core/Template/Loader/ThemeRegistryLoader.php
ThemeRegistryLoader::__construct function core/lib/Drupal/Core/Template/Loader/ThemeRegistryLoader.php Constructs a new ThemeRegistryLoader object.
ThemeRegistryLoaderTest class core/tests/Drupal/Tests/Core/Template/Loader/ThemeRegistryLoaderTest.php @coversDefaultClass \Drupal\Core\Template\Loader\ThemeRegistryLoader[[api-linebreak]]
@group Template

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