Search for theme_

  1. Search 7.x for theme_
  2. Search 9.5.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
ThemeManager::setActiveTheme function core/lib/Drupal/Core/Theme/ThemeManager.php Sets the current active theme manually.
ThemeManager::setThemeRegistry function core/lib/Drupal/Core/Theme/ThemeManager.php Sets the theme registry.
ThemeManager::__construct function core/lib/Drupal/Core/Theme/ThemeManager.php Constructs a new ThemeManager object.
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.
ThemeNotUsingClassyLibraryTest class core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php Tests that themes do not depend on Classy libraries.
ThemeNotUsingClassyLibraryTest.php file core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php
ThemeNotUsingClassyLibraryTest::$classyLibraries property core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php Classy's libraries.
ThemeNotUsingClassyLibraryTest::$classyLibrariesExtend property core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php Libraries that Classy extends.
ThemeNotUsingClassyLibraryTest::$libraryDiscovery property core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php The library discovery service.
ThemeNotUsingClassyLibraryTest::$themeHandler property core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php The theme handler.
ThemeNotUsingClassyLibraryTest::$themeInitialization property core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php The theme initialization.
ThemeNotUsingClassyLibraryTest::confirmMatchingAssets function core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php Confirms that the assets of a copied Classy library match the original's.
ThemeNotUsingClassyLibraryTest::confirmNoClassyAssets function core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php Confirms a library is not loading any Classy assets.
ThemeNotUsingClassyLibraryTest::providerTestThemeAccountsForClassyExtensions function core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php Data provider.
ThemeNotUsingClassyLibraryTest::providerTestThemeNotUsingClassyLibraries function core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php Data provider.
ThemeNotUsingClassyLibraryTest::setUp function core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php
ThemeNotUsingClassyLibraryTest::testThemeAccountsForClassyExtensions function core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php Checks for theme-specific equivalents of all Classy library-extends.
ThemeNotUsingClassyLibraryTest::testThemeNotUsingClassyLibraries function core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php Ensures that a theme is decoupled from Classy libraries.

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