Search for theme_

  1. Search 9.5.x for theme_
  2. Search 8.9.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
MenuRouterTestCase::testThemeCallbackFakeTheme function modules/simpletest/tests/menu.test Test the theme callback when it is set to use a theme that does not exist.
MenuRouterTestCase::testThemeCallbackHookCustomTheme function modules/simpletest/tests/menu.test Test that the theme callback wins out over hook_custom_theme().
MenuRouterTestCase::testThemeCallbackInheritance function modules/simpletest/tests/menu.test Test that the theme callback is properly inherited.
MenuRouterTestCase::testThemeCallbackMaintenanceMode function modules/simpletest/tests/menu.test Test the theme callback when the site is in maintenance mode.
MenuRouterTestCase::testThemeCallbackNoThemeRequested function modules/simpletest/tests/menu.test Test the theme callback when no theme is requested.
MenuRouterTestCase::testThemeCallbackOptionalTheme function modules/simpletest/tests/menu.test Test the theme callback when it is set to use an optional theme.
menu_test_theme_callback function modules/simpletest/tests/menu_test.module Theme callback to use when testing the theme callback functionality.
menu_test_theme_page_callback function modules/simpletest/tests/menu_test.module Page callback to use when testing the theme callback functionality.
ModuleDependencyTestCase::testThemeMetaData function modules/system/system.test Tests whether the correct theme metadata is returned.
ModuleProvidedThemeEngineTestCase class modules/simpletest/tests/theme.test Tests module-provided theme engines.
ModuleProvidedThemeEngineTestCase::getInfo function modules/simpletest/tests/theme.test
ModuleProvidedThemeEngineTestCase::setUp function modules/simpletest/tests/theme.test Sets up a Drupal site for running functional and integration tests.
ModuleProvidedThemeEngineTestCase::testEngineIsFoundAndWorking function modules/simpletest/tests/theme.test Ensures that the module provided theme engine is found and used by core.
NewDefaultThemeBlocks class modules/block/block.test Test blocks correctly initialized when picking a new default theme.
NewDefaultThemeBlocks::getInfo function modules/block/block.test
NewDefaultThemeBlocks::testNewDefaultThemeBlocks function modules/block/block.test Check the enabled Bartik blocks are correctly copied over.
PagerFunctionalWebTestCase::testThemePagerQuantityNotSet function modules/simpletest/tests/pager.test Tests theme_pager() when an empty quantity is passed.
system.theme-rtl.css file modules/system/system.theme-rtl.css RTL styles for common markup.
system.theme.css file modules/system/system.theme.css Basic styling for common markup.
SystemThemeFunctionalTest class modules/system/system.test Tests for the theme interface functionality.
SystemThemeFunctionalTest::$admin_user property modules/system/system.test
SystemThemeFunctionalTest::$node property modules/system/system.test
SystemThemeFunctionalTest::getInfo function modules/system/system.test
SystemThemeFunctionalTest::setUp function modules/system/system.test Sets up a Drupal site for running functional and integration tests.
SystemThemeFunctionalTest::testAdministrationTheme function modules/system/system.test Test the administration theme functionality.
SystemThemeFunctionalTest::testPerThemeSettings function modules/system/system.test Test the individual per-theme settings form.
SystemThemeFunctionalTest::testSwitchDefaultTheme function modules/system/system.test Test switching the default theme.
SystemThemeFunctionalTest::testThemeSettings function modules/system/system.test Test the theme settings form.
system_find_base_themes function modules/system/system.module Find all the base themes for the specified theme.
system_rebuild_theme_data function modules/system/system.module Rebuild, save, and return data about all currently available themes.
system_sort_themes function modules/system/system.admin.inc Sorts themes by their names, with the default theme listed first.
system_themes_admin_form function modules/system/system.admin.inc Form to select the administration theme.
system_themes_admin_form_submit function modules/system/system.admin.inc Process system_themes_admin_form form submissions.
system_themes_page function modules/system/system.admin.inc Menu callback; displays a listing of all themes.
system_theme_default function modules/system/system.admin.inc Menu callback; Set the default theme.
system_theme_disable function modules/system/system.admin.inc Menu callback; Disables a theme.
system_theme_enable function modules/system/system.admin.inc Menu callback; Enables a theme.
system_theme_settings function modules/system/system.admin.inc Form builder; display theme configuration for entire site and individual themes.
system_theme_settings_submit function modules/system/system.admin.inc Process system_theme_settings form submissions.
system_theme_settings_validate function modules/system/system.admin.inc Validator for the system_theme_settings() form.
TaxonomyThemeTestCase class modules/taxonomy/taxonomy.test Tests for verifying that taxonomy pages use the correct theme.
TaxonomyThemeTestCase::getInfo function modules/taxonomy/taxonomy.test
TaxonomyThemeTestCase::setUp function modules/taxonomy/taxonomy.test Sets up a Drupal site for running functional and integration tests.
TaxonomyThemeTestCase::testTaxonomyTermThemes function modules/taxonomy/taxonomy.test Test the theme used when adding, viewing and editing taxonomy terms.
template_preprocess_theme_test function modules/simpletest/tests/theme_test.inc Preprocesses variables for theme_theme_test().
test_basetheme.info file modules/simpletest/tests/themes/test_basetheme/test_basetheme.info name = Theme test base theme
description = Test theme which acts as a base theme for other test subthemes.
core = 7.x
hidden = TRUE

settings[basetheme_only] = base theme value
settings[subtheme_override] = base theme value
test_subtheme.info file modules/simpletest/tests/themes/test_subtheme/test_subtheme.info name = Theme test subtheme
description = Test theme which uses test_basetheme as the base theme.
core = 7.x
base theme = test_basetheme
hidden = TRUE

settings[subtheme_override] = subtheme value
test_theme.info file modules/simpletest/tests/themes/test_theme/test_theme.info name = Test theme
description = Theme for testing the theme system
core = 7.x
hidden = TRUE

; Normally, themes may list CSS files like this, and if they exist in the theme
; folder, then they get added to the page. If they have the same file name as…
test_theme_form_system_theme_settings_alter function modules/simpletest/tests/themes/test_theme/theme-settings.php Implements hook_form_FORM_ID_alter().
test_theme_form_system_theme_settings_submit function modules/simpletest/tests/themes/test_theme/theme-settings.php Form submission handler for the test theme settings form.

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