Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
theme.inc
»
theme_enable
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
34 calls to theme_enable()
BlockAdminThemeTest::testAdminTheme
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
Tests/
BlockAdminThemeTest.php
Check for the accessibility of the admin theme on the block admin page.
BlockHiddenRegionTest::testBlockNotInHiddenRegion
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
Tests/
BlockHiddenRegionTest.php
Tests that hidden regions do not inherit blocks when a theme is enabled.
BreakpointThemeTest::setUp
in drupal/
core/
modules/
breakpoint/
lib/
Drupal/
breakpoint/
Tests/
BreakpointThemeTest.php
Sets up a Drupal site for running functional and integration tests.
ColorTest::setUp
in drupal/
core/
modules/
color/
lib/
Drupal/
color/
Tests/
ColorTest.php
Sets up a Drupal site for running functional and integration tests.
CommentLinksTest::testCommentLinks
in drupal/
core/
modules/
comment/
lib/
Drupal/
comment/
Tests/
CommentLinksTest.php
Tests comment links.
EntityFilteringThemeTest::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Theme/
EntityFilteringThemeTest.php
Sets up a Drupal site for running functional and integration tests.
FrameworkTest::testLazyLoadOverriddenCSS
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Ajax/
FrameworkTest.php
Tests that overridden CSS files are not added during lazy load.
InfoAlterTest::testSystemInfoAlter
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
System/
InfoAlterTest.php
Tests that theme .info.yml data is rebuild after enabling a module.
LayoutTestController::layoutTestPage
in drupal/
core/
modules/
layout/
tests/
lib/
Drupal/
layout_test/
Controller/
LayoutTestController.php
Displays basic page for layout testing purposes.
MenuRouterTest::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Menu/
MenuRouterTest.php
Sets up a Drupal site for running functional and integration tests.
MenuRouterTest::testHookCustomTheme
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Menu/
MenuRouterTest.php
Test that
hook_custom_theme
() can control the theme of a page.
MenuRouterTest::testThemeCallbackAdministrative
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Menu/
MenuRouterTest.php
Test the theme callback when it is set to use an administrative theme.
MenuRouterTest::testThemeCallbackHookCustomTheme
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Menu/
MenuRouterTest.php
Test that the theme callback wins out over
hook_custom_theme
().
MenuRouterTest::testThemeCallbackInheritance
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Menu/
MenuRouterTest.php
Test that the theme callback is properly inherited.
MenuRouterTest::testThemeCallbackMaintenanceMode
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Menu/
MenuRouterTest.php
Test the theme callback when the site is in maintenance mode.
MenuRouterTest::testThemeCallbackOptionalTheme
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Menu/
MenuRouterTest.php
Test the theme callback when it is set to use an optional theme.
NewDefaultThemeBlocksTest::testNewDefaultThemeBlocks
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
Tests/
NewDefaultThemeBlocksTest.php
Check the enabled Bartik blocks are correctly copied over.
NonDefaultBlockAdminTest::testNonDefaultBlockAdmin
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
Tests/
NonDefaultBlockAdminTest.php
Test non-default theme admin.
PageTest::testBatchProgressPageTheme
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Batch/
PageTest.php
Tests that the batch API progress page uses the correct theme.
ShortcutLinksTest::testShortcutQuickLink
in drupal/
core/
modules/
shortcut/
lib/
Drupal/
shortcut/
Tests/
ShortcutLinksTest.php
Tests that the "add to shortcut" link changes to "remove shortcut".
standard_install
in drupal/
core/
profiles/
standard/
standard.install
Implements
hook_install
().
system_theme_default
in drupal/
core/
modules/
system/
system.admin.inc
Menu callback; Set the default theme.
ThemeController::enable
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Controller/
ThemeController.php
Enables a theme.
ThemeInfoStylesTest::testStylesheets
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Theme/
ThemeInfoStylesTest.php
Tests stylesheets-override and stylesheets-remove.
ThemeTest::setUp
in drupal/
core/
modules/
taxonomy/
lib/
Drupal/
taxonomy/
Tests/
ThemeTest.php
Sets up a Drupal site for running functional and integration tests.
ThemeTest::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Theme/
ThemeTest.php
Sets up a Drupal site for running functional and integration tests.
ThemeTest::testAdministrationTheme
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
System/
ThemeTest.php
Test the administration theme functionality.
ThemeTest::testSwitchDefaultTheme
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
System/
ThemeTest.php
Test switching the default theme.
ThemeTestPhpTemplate::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Theme/
ThemeTestPhpTemplate.php
Sets up a Drupal site for running functional and integration tests.
ThemeTestTwig::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Theme/
ThemeTestTwig.php
Sets up a Drupal site for running functional and integration tests.
TwigDebugMarkupTest::testTwigDebugMarkup
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Theme/
TwigDebugMarkupTest.php
Tests debug markup added to Twig template output.
TwigSettingsTest::testTwigCacheOverride
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Theme/
TwigSettingsTest.php
Ensures Twig template cache setting can be overridden.
UpdateContribTest::testUpdateBaseThemeSecurityUpdate
in drupal/
core/
modules/
update/
lib/
Drupal/
update/
Tests/
UpdateContribTest.php
Tests that subthemes are notified about security updates for base themes.
UpdateContribTest::testUpdateHiddenBaseTheme
in drupal/
core/
modules/
update/
lib/
Drupal/
update/
Tests/
UpdateContribTest.php
Tests updates with a hidden base theme.