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
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
75 string references to 'theme'
bartik.info.yml
in drupal/
core/
themes/
bartik/
bartik.info.yml
drupal/core/themes/bartik/bartik.info.yml
bartik_preprocess_maintenance_page
in drupal/
core/
themes/
bartik/
bartik.theme
Implements
hook_preprocess_HOOK
() for
maintenance-page.html.twig
.
Block::get
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
Plugin/
Core/
Entity/
Block.php
Overrides
\Drupal\Core\Config\Entity\ConfigEntityBase::get
();
BlockFormController::form
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
BlockFormController.php
Overrides
\Drupal\Core\Entity\EntityFormController::form
().
BlockFormController::submit
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
BlockFormController.php
Overrides
\Drupal\Core\Entity\EntityFormController::submit
().
BlockFormController::validate
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
BlockFormController.php
Overrides
\Drupal\Core\Entity\EntityFormController::validate
().
BlockListController::buildForm
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
BlockListController.php
Implements
\Drupal\Core\Form\FormInterface::buildForm
().
BlockStorageUnitTest::loadTests
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
Tests/
BlockStorageUnitTest.php
Tests the rendering of blocks.
block_admin_edit
in drupal/
core/
modules/
block/
block.admin.inc
Page callback: Build the block instance edit form.
block_test_theme.info.yml
in drupal/
core/
modules/
block/
tests/
themes/
block_test_theme/
block_test_theme.info.yml
drupal/core/modules/block/tests/themes/block_test_theme/block_test_theme.info.yml
breakpoint_test_theme.info.yml
in drupal/
core/
modules/
breakpoint/
tests/
themes/
breakpoint_test_theme/
breakpoint_test_theme.info.yml
drupal/core/modules/breakpoint/tests/themes/breakpoint_test_theme/breakpoint_test_theme.info.yml
color_get_info
in drupal/
core/
modules/
color/
color.module
Retrieves the Color module information for a particular theme.
color_scheme_form_submit
in drupal/
core/
modules/
color/
color.module
Form submission handler for
color_scheme_form
().
CustomBlockController::add
in drupal/
core/
modules/
block/
custom_block/
lib/
Drupal/
custom_block/
Controller/
CustomBlockController.php
Displays add custom block links for available types.
custom_block_add
in drupal/
core/
modules/
block/
custom_block/
custom_block.pages.inc
Page callback: Presents the custom block creation form.
design_test_menu_local_tasks_alter
in drupal/
core/
modules/
system/
tests/
modules/
design_test/
design_test.module
Implements
hook_menu_local_tasks_alter
().
design_test_menu_theme_callback
in drupal/
core/
modules/
system/
tests/
modules/
design_test/
design_test.module
Menu theme callback for design_test pages.
DisplayPluginBase::buildOptionsForm
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Plugin/
views/
display/
DisplayPluginBase.php
Provide the default form for setting options.
drupal_get_filename
in drupal/
core/
includes/
bootstrap.inc
Returns and optionally sets the filename for a system resource.
GetFilenameUnitTest::testDrupalGetFilename
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Bootstrap/
GetFilenameUnitTest.php
Tests that
drupal_get_filename
() works when the file is not in database.
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.
InstallStorage::getAllFolders
in drupal/
core/
lib/
Drupal/
Core/
Config/
InstallStorage.php
Returns a map of all config object names and their folders.
Layout::getDerivativeDefinitions
in drupal/
core/
modules/
layout/
lib/
Drupal/
layout/
Plugin/
Derivative/
Layout.php
Implements DerivativeInterface::getDerivativeDefinitions().
LayoutController::layoutPageList
in drupal/
core/
modules/
layout/
lib/
Drupal/
layout/
Controller/
LayoutController.php
Presents a list of layouts.
LayoutDerivativesTest::testPageLayout
in drupal/
core/
modules/
layout/
lib/
Drupal/
layout/
Tests/
LayoutDerivativesTest.php
Test layout functionality as applies to pages.
layout_test_theme.info.yml
in drupal/
core/
modules/
layout/
tests/
themes/
layout_test_theme/
layout_test_theme.info.yml
drupal/core/modules/layout/tests/themes/layout_test_theme/layout_test_theme.info.yml
list_themes
in drupal/
core/
includes/
theme.inc
Returns a list of all currently available themes.
locale_translation_project_list
in drupal/
core/
modules/
locale/
locale.compare.inc
Fetch an array of projects for translation update.
module_test_system_info_alter
in drupal/
core/
modules/
system/
tests/
modules/
module_test/
module_test.module
Implements
hook_system_info_alter
().
node_type_form_validate
in drupal/
core/
modules/
node/
content_types.inc
Form validation handler for
node_type_form
().
overlay_system_info_alter
in drupal/
core/
modules/
overlay/
overlay.module
Implements
hook_system_info_alter
().
php_eval
in drupal/
core/
modules/
php/
php.module
Evaluates a string of PHP code.
seven.info.yml
in drupal/
core/
themes/
seven/
seven.info.yml
drupal/core/themes/seven/seven.info.yml
seven_preprocess_install_page
in drupal/
core/
themes/
seven/
seven.theme
Implements hook_preprocess_install_page().
seven_tablesort_indicator
in drupal/
core/
themes/
seven/
seven.theme
Overrides
theme_tablesort_indicator
().
stark.info.yml
in drupal/
core/
themes/
stark/
stark.info.yml
drupal/core/themes/stark/stark.info.yml
system_install
in drupal/
core/
modules/
system/
system.install
Implements
hook_install
().
system_list
in drupal/
core/
includes/
module.inc
Builds a list of bootstrap modules and enabled modules and themes.
system_system_info_alter
in drupal/
core/
modules/
system/
system.module
Implements
hook_system_info_alter
().
system_theme_settings
in drupal/
core/
modules/
system/
system.admin.inc
Form builder; display theme configuration for entire site and individual themes.
system_update_8055
in drupal/
core/
modules/
system/
system.install
Move system theme settings from variables to config.
template_preprocess_color_scheme_form
in drupal/
core/
modules/
color/
color.module
Prepares variables for color scheme form templates.
test_basetheme.info.yml
in drupal/
core/
modules/
system/
tests/
themes/
test_basetheme/
test_basetheme.info.yml
drupal/core/modules/system/tests/themes/test_basetheme/test_basetheme.info.yml
test_invalid_basetheme.info.yml
in drupal/
core/
modules/
system/
tests/
themes/
test_invalid_basetheme/
test_invalid_basetheme.info.yml
drupal/core/modules/system/tests/themes/test_invalid_basetheme/test_invalid_basetheme.info.yml
test_invalid_engine.info.yml
in drupal/
core/
modules/
system/
tests/
themes/
test_invalid_engine/
test_invalid_engine.info.yml
drupal/core/modules/system/tests/themes/test_invalid_engine/test_invalid_engine.info.yml
test_subtheme.info.yml
in drupal/
core/
modules/
system/
tests/
themes/
test_subtheme/
test_subtheme.info.yml
drupal/core/modules/system/tests/themes/test_subtheme/test_subtheme.info.yml
test_theme.info.yml
in drupal/
core/
modules/
system/
tests/
themes/
test_theme/
test_theme.info.yml
drupal/core/modules/system/tests/themes/test_theme/test_theme.info.yml
test_theme_phptemplate.info.yml
in drupal/
core/
modules/
system/
tests/
themes/
test_theme_phptemplate/
test_theme_phptemplate.info.yml
drupal/core/modules/system/tests/themes/test_theme_phptemplate/test_theme_phptemplate.info.yml
Theme::canUpdate
in drupal/
core/
lib/
Drupal/
Core/
Updater/
Theme.php
Determines whether this class can update the specified project.
Theme::getInstallDirectory
in drupal/
core/
lib/
Drupal/
Core/
Updater/
Theme.php
Returns the directory where a theme should be installed.
Theme::isInstalled
in drupal/
core/
lib/
Drupal/
Core/
Updater/
Theme.php
Implements
Drupal\Core\Updater\UpdaterInterface::isInstalled
().
ThemeController::disable
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Controller/
ThemeController.php
Disables a 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::testFindThemeTemplates
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Theme/
ThemeTest.php
Tests
drupal_find_theme_templates
().
theme_enable
in drupal/
core/
includes/
theme.inc
Enables a given list of themes.
theme_page_test_system_info_alter
in drupal/
core/
modules/
system/
tests/
modules/
theme_page_test/
theme_page_test.module
Implements
hook_system_info_alter
().
theme_settings_convert_to_config
in drupal/
core/
includes/
theme.inc
Converts theme settings to configuration.
toolbar_system_info_alter
in drupal/
core/
modules/
toolbar/
toolbar.module
Implements
hook_system_info_alter
().
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::testUpdateHiddenBaseTheme
in drupal/
core/
modules/
update/
lib/
Drupal/
update/
Tests/
UpdateContribTest.php
Tests updates with a hidden base theme.
UpdateModuleHandler::getImplementations
in drupal/
core/
lib/
Drupal/
Core/
Extension/
UpdateModuleHandler.php
Implements
\Drupal\Core\Extension\ModuleHandlerInterface::getImplementations
().
update_check_incompatibility
in drupal/
core/
includes/
update.inc
Tests the compatibility of a module or theme.
update_fix_compatibility
in drupal/
core/
includes/
update.inc
Disables any extensions that are incompatible with the current core version.
update_get_projects
in drupal/
core/
modules/
update/
update.compare.inc
Fetches an array of installed and enabled projects.
update_manager_update_form
in drupal/
core/
modules/
update/
update.manager.inc
Form constructor for the update form of the Update Manager module.
update_prepare_d8_bootstrap
in drupal/
core/
includes/
update.inc
Performs extra steps required to bootstrap when using a Drupal 7 database.
update_test_basetheme.info.yml
in drupal/
core/
modules/
update/
tests/
themes/
update_test_basetheme/
update_test_basetheme.info.yml
drupal/core/modules/update/tests/themes/update_test_basetheme/update_test_basetheme.info.yml
update_test_subtheme.info.yml
in drupal/
core/
modules/
update/
tests/
themes/
update_test_subtheme/
update_test_subtheme.info.yml
drupal/core/modules/update/tests/themes/update_test_subtheme/update_test_subtheme.info.yml
WebTestBase::drupalPlaceBlock
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Creates a block instance based on default settings.
_ckeditor_theme_css
in drupal/
core/
modules/
ckeditor/
ckeditor.module
Retrieves the default theme's CKEditor stylesheets defined in the .info file.
_system_rebuild_theme_data
in drupal/
core/
modules/
system/
system.module
Helper function to scan and collect theme .info.yml data and their engines.
_theme_build_registry
in drupal/
core/
includes/
theme.inc
Builds the theme registry cache.
_theme_process_registry
in drupal/
core/
includes/
theme.inc
Process a single implementation of
hook_theme
().