Functions - 10.3.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
test_theme_settings_form_system_theme_settings_alter core/modules/system/tests/themes/test_theme_settings/theme-settings.php Implements hook_form_system_theme_settings_alter().
test_theme_settings_form_system_theme_settings_submit core/modules/system/tests/themes/test_theme_settings/theme-settings.php Test theme form settings submission handler. 1
test_theme_theme_form_system_theme_settings_alter core/modules/system/tests/themes/test_theme_theme/test_theme_theme.theme Implements hook_form_system_theme_settings_alter().
test_theme_theme_form_system_theme_settings_submit core/modules/system/tests/themes/test_theme_theme/test_theme_theme.theme Test theme form settings submission handler. 1
test_theme_theme_registry_alter core/modules/system/tests/themes/test_theme/test_theme.theme Implements hook_theme_registry_alter().
test_theme_theme_suggestions_alter core/modules/system/tests/themes/test_theme/test_theme.theme Implements hook_theme_suggestions_alter().
test_theme_theme_suggestions_node_alter core/modules/system/tests/themes/test_theme/test_theme.theme Implements hook_theme_suggestions_HOOK_alter().
test_theme_theme_suggestions_theme_test_suggestions_alter core/modules/system/tests/themes/test_theme/test_theme.theme Implements hook_theme_suggestions_HOOK_alter().
test_theme_theme_test_alter_alter core/modules/system/tests/themes/test_theme/test_theme.theme Tests a theme implementing an alter hook.
test_theme_updates_post_update_test core/modules/system/tests/themes/test_theme_updates/test_theme_updates.post_update.php Tests post updates for themes.
text_help core/modules/text/text.module Implements hook_help().
text_post_update_allowed_formats core/modules/text/text.post_update.php Add allowed_formats setting to existing text fields.
text_removed_post_updates core/modules/text/text.post_update.php Implements hook_removed_post_updates().
text_summary core/modules/text/text.module Generates a trimmed, formatted version of a text field value. 4
theme_get_registry

in drupal:10.1.0 and is removed from drupal:11.0.0. Use theme.registry service methods get() or getRuntime() instead.

core/includes/theme.inc Gets the theme registry. 1
theme_get_setting core/includes/theme.inc Retrieves a setting for the current theme or for a given theme. 18 3
theme_get_suggestions core/includes/theme.inc Generate an array of suggestions from path arguments. 4
theme_page_test_system_info_alter core/modules/system/tests/modules/theme_page_test/theme_page_test.module Implements hook_system_info_alter().
theme_region_test_preprocess_region core/modules/system/tests/modules/theme_region_test/theme_region_test.module Implements hook_preprocess_HOOK() for region templates.
theme_render_and_autoescape

in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. Theme engines must handle escaping by themselves.

core/includes/theme.inc Escapes and renders variables for theme functions. 4
theme_settings_convert_to_config core/includes/theme.inc Converts theme settings to configuration. 1
theme_suggestions_test_theme_suggestions_alter core/modules/system/tests/modules/theme_suggestions_test/theme_suggestions_test.module Implements hook_theme_suggestions_alter().
theme_suggestions_test_theme_suggestions_theme_test_specific_suggestions_alter core/modules/system/tests/modules/theme_suggestions_test/theme_suggestions_test.module Implements hook_theme_suggestions_HOOK_alter().
theme_suggestions_test_theme_suggestions_theme_test_suggestions_alter core/modules/system/tests/modules/theme_suggestions_test/theme_suggestions_test.module Implements hook_theme_suggestions_HOOK_alter().
theme_test_library_info_alter core/modules/system/tests/modules/theme_test/theme_test.module Implements hook_library_info_alter().
theme_test_page_bottom core/modules/system/tests/modules/theme_test/theme_test.module Implements hook_page_bottom().
theme_test_preprocess_html core/modules/system/tests/modules/theme_test/theme_test.module Implements hook_preprocess_HOOK() for HTML document templates.
theme_test_preprocess_theme_test_preprocess_suggestions core/modules/system/tests/modules/theme_test/theme_test.module Implements hook_preprocess_HOOK(). 1
theme_test_preprocess_theme_test_preprocess_suggestions__monkey core/modules/system/tests/modules/theme_test/theme_test.module Tests a module overriding a default hook with a suggestion.
theme_test_system_info_alter core/modules/system/tests/modules/theme_test/theme_test.module Implements hook_system_info_alter().
theme_test_theme core/modules/system/tests/modules/theme_test/theme_test.module Implements hook_theme().
theme_test_theme_registry_alter core/modules/system/tests/modules/theme_test/theme_test.module Implements hook_theme_registry_alter().
theme_test_theme_suggestions_alter core/modules/system/tests/modules/theme_test/theme_test.module Implements hook_theme_suggestions_alter().
theme_test_theme_suggestions_node core/modules/system/tests/modules/theme_test/theme_test.module Implements hook_theme_suggestions_HOOK().
theme_test_theme_suggestions_theme_test_preprocess_suggestions core/modules/system/tests/modules/theme_test/theme_test.module Implements hook_theme_suggestions_HOOK().
theme_test_theme_suggestions_theme_test_suggestions_alter core/modules/system/tests/modules/theme_test/theme_test.module Implements hook_theme_suggestions_HOOK_alter().
theme_test_theme_suggestions_theme_test_suggestion_provided core/modules/system/tests/modules/theme_test/theme_test.module Implements hook_theme_suggestions_HOOK().
time core/tests/Drupal/Tests/Component/Datetime/TimeTest.php Shadow time() system call. 24
toolbar_disable_user_toolbar_toolbar_alter core/modules/toolbar/tests/modules/toolbar_disable_user_toolbar/toolbar_disable_user_toolbar.module Implements hook_toolbar_alter().
toolbar_get_rendered_subtrees core/modules/toolbar/toolbar.module Returns the rendered subtree of each top-level toolbar link. 2
toolbar_help core/modules/toolbar/toolbar.module Implements hook_help().
toolbar_menu_navigation_links core/modules/toolbar/toolbar.module Adds toolbar-specific attributes to the menu link tree. 2
toolbar_page_top core/modules/toolbar/toolbar.module Implements hook_page_top().
toolbar_preprocess_html core/modules/toolbar/toolbar.module Implements hook_preprocess_HOOK() for HTML document templates.
toolbar_test_preprocess_menu core/modules/toolbar/tests/modules/toolbar_test/toolbar_test.module Implements hook_preprocess_HOOK().
toolbar_test_toolbar core/modules/toolbar/tests/modules/toolbar_test/toolbar_test.module Implements hook_toolbar().
toolbar_theme core/modules/toolbar/toolbar.module Implements hook_theme().
toolbar_toolbar core/modules/toolbar/toolbar.module Implements hook_toolbar().
tour_help core/modules/tour/tour.module Implements hook_help().
tour_page_bottom core/modules/tour/tour.module Implements hook_page_bottom().

Other projects


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