| ThemeManager::getActiveTheme |
function |
core/lib/Drupal/Core/Theme/ThemeManager.php |
Returns the active theme object. |
| ThemeManager::getDefaultTemplateVariables |
function |
core/lib/Drupal/Core/Theme/ThemeManager.php |
Returns default template variables. |
| ThemeManager::getImplementationsForTheme |
function |
core/lib/Drupal/Core/Theme/ThemeManager.php |
Gets a hook implementation list for a specific hook. |
| ThemeManager::getThemeChain |
function |
core/lib/Drupal/Core/Theme/ThemeManager.php |
Gets theme and base themes in reverse order. |
| ThemeManager::getThemeEngine |
function |
core/lib/Drupal/Core/Theme/ThemeManager.php |
Returns the theme engine if it exists. |
| ThemeManager::hasActiveTheme |
function |
core/lib/Drupal/Core/Theme/ThemeManager.php |
Determines whether there is an active theme. |
| ThemeManager::initTheme |
function |
core/lib/Drupal/Core/Theme/ThemeManager.php |
Initializes the active theme for a given route match. |
| ThemeManager::invoke |
function |
core/lib/Drupal/Core/Theme/ThemeManager.php |
Invokes a hook in a particular theme. |
| ThemeManager::invokeAllWith |
function |
core/lib/Drupal/Core/Theme/ThemeManager.php |
Executes a callback for each implementation of a hook for a theme. |
| ThemeManager::render |
function |
core/lib/Drupal/Core/Theme/ThemeManager.php |
Generates themed output. |
| ThemeManager::resetActiveTheme |
function |
core/lib/Drupal/Core/Theme/ThemeManager.php |
Resets the current active theme. |
| 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 |
|
| 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 |
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 |
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. |