Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
theme.inc
»
theme_enable
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
30 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.
BlockTest::testCustomBlock
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
Tests/
BlockTest.php
Test creating custom block, moving it to a specific region and then deleting it.
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 data is rebuild after enabling a module.
layout_test_page
in drupal/
core/
modules/
layout/
tests/
layout_test.module
Page callback for layout testing.
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.
RouterTest::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Menu/
RouterTest.php
Sets up a Drupal site for running functional and integration tests.
RouterTest::testHookCustomTheme
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Menu/
RouterTest.php
Test that
hook_custom_theme
() can control the theme of a page.
RouterTest::testThemeCallbackAdministrative
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Menu/
RouterTest.php
Test the theme callback when it is set to use an administrative theme.
RouterTest::testThemeCallbackHookCustomTheme
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Menu/
RouterTest.php
Test that the theme callback wins out over
hook_custom_theme
().
RouterTest::testThemeCallbackInheritance
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Menu/
RouterTest.php
Test that the theme callback is properly inherited.
RouterTest::testThemeCallbackMaintenanceMode
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Menu/
RouterTest.php
Test the theme callback when the site is in maintenance mode.
RouterTest::testThemeCallbackOptionalTheme
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Menu/
RouterTest.php
Test the theme callback when it is set to use an optional 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.
system_theme_enable
in drupal/
core/
modules/
system/
system.admin.inc
Menu callback; Enables a theme.
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.
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.
UpdateContribTest::testUpdateBaseThemeSecurityUpdate
in drupal/
core/
modules/
update/
lib/
Drupal/
update/
Tests/
UpdateContribTest.php
Tests that subthemes are notified about security updates for base themes.