Functions - main - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
test_base_theme_preprocess_theme_test_function_suggestions core/modules/system/tests/themes/test_base_theme/test_base_theme.theme Implements hook_preprocess_HOOK() for theme_test_function_suggestions theme functions.
test_base_theme_preprocess_theme_test_template_test core/modules/system/tests/themes/test_base_theme/test_base_theme.theme Implements hook_preprocess_HOOK() for theme_test_template_test templates. 1
test_base_theme_views_post_render core/modules/system/tests/themes/test_base_theme/test_base_theme.theme Implements hook_views_post_render(). 1
test_base_theme_views_pre_render core/modules/system/tests/themes/test_base_theme/test_base_theme.theme Implements hook_views_pre_render(). 1
test_batch_test_install core/modules/system/tests/modules/test_batch_test/test_batch_test.install Implements hook_install().
test_deprecated_suggestion_theme_theme_suggestions_alter core/modules/system/tests/themes/test_deprecated_suggestion_theme/test_deprecated_suggestion_theme.theme Implements hook_theme_suggestions_alter().
test_function_controller core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php
test_function_controller_entity_union_type core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php
test_function_controller_entity_upcasting core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php
test_function_controller_no_upcasting core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php
test_function_controller_with_argument core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php
test_installer_theme_form_install_select_language_form_alter core/modules/system/tests/themes/test_installer_theme/test_installer_theme.theme Implements hook_form_FORM_ID_alter().
test_subsubtheme_preprocess_theme_test_template_test core/modules/system/tests/themes/test_subsubtheme/test_subsubtheme.theme Implements hook_preprocess_HOOK() for theme_test_template_test templates. 1
test_subtheme_preprocess_theme_test_template_test core/modules/system/tests/themes/test_subtheme/test_subtheme.theme Implements hook_preprocess_HOOK() for theme_test_template_test templates. 1
test_subtheme_views_post_render core/modules/system/tests/themes/test_subtheme/test_subtheme.theme Implements hook_views_post_render(). 1
test_subtheme_views_pre_render core/modules/system/tests/themes/test_subtheme/test_subtheme.theme Implements hook_views_pre_render(). 1
test_theme_alter_drupal_alter_alter core/modules/system/tests/themes/test_theme_alter/test_theme_alter.theme Implements hook_TYPE_alter().
test_theme_engine_extension core/modules/system/tests/engines/test_theme_engine/test_theme_engine.engine Implements hook_extension().
test_theme_engine_render_template core/modules/system/tests/engines/test_theme_engine/test_theme_engine.engine Implements hook_render_template().
test_theme_engine_theme core/modules/system/tests/engines/test_theme_engine/test_theme_engine.engine Implements hook_theme(). 2
test_theme_nyan_cat_engine_preprocess_theme_test_template_test core/modules/system/tests/themes/test_theme_nyan_cat_engine/test_theme_nyan_cat_engine.theme Implements hook_preprocess_theme_test_template_test().
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_updates_post_update_test core/modules/system/tests/themes/test_theme_updates/test_theme_updates.post_update.php Tests post updates for themes.
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_setting

in drupal:11.3.0 and is removed from drupal:13.0.0. Use \Drupal::service('Drupal\Core\Extension\ThemeSettingsProvider')->getSetting() instead.

core/includes/theme.inc Retrieves a setting for the current theme or for a given theme.
theme_get_suggestions core/includes/theme.inc Generate an array of suggestions from path arguments. 4
theme_settings_convert_to_config core/includes/theme.inc Converts theme settings to configuration. 1
time core/tests/Drupal/Tests/Component/Datetime/TimeTest.php Shadow time() system call. 32
toolbar_get_rendered_subtrees core/modules/toolbar/toolbar.module Returns the rendered subtree of each top-level toolbar link. 2
toolbar_menu_navigation_links core/modules/toolbar/toolbar.module Adds toolbar-specific attributes to the menu link tree. 2
twig_extension core/themes/engines/twig/twig.engine Implements hook_extension(). 1
twig_render_template core/themes/engines/twig/twig.engine Implements hook_render_template(). 1
twig_theme core/themes/engines/twig/twig.engine Implements hook_theme().
umami_form_alter core/profiles/demo_umami/themes/umami/umami.theme Implements hook_form_alter().
umami_form_search_block_form_alter core/profiles/demo_umami/themes/umami/umami.theme Implements hook_form_FORM_ID_alter() for search_block_form.
umami_preprocess_block core/profiles/demo_umami/themes/umami/umami.theme Implements hook_preprocess_HOOK() for block.
umami_preprocess_block__bundle__banner_block core/profiles/demo_umami/themes/umami/umami.theme Implements hook_preprocess_HOOK() for block--bundle--banner-block.
umami_preprocess_block__bundle__footer_promo_block core/profiles/demo_umami/themes/umami/umami.theme Implements hook_preprocess_HOOK() for block bundle footer promo.
umami_preprocess_breadcrumb core/profiles/demo_umami/themes/umami/umami.theme Implements hook_preprocess_HOOK() for breadcrumb.
umami_preprocess_field core/profiles/demo_umami/themes/umami/umami.theme Implements hook_preprocess_HOOK() for field.
umami_preprocess_html core/profiles/demo_umami/themes/umami/umami.theme Implements hook_preprocess_HOOK() for html.
umami_preprocess_image_widget core/profiles/demo_umami/themes/umami/umami.theme Implements hook_preprocess_HOOK() for image-widget.
umami_preprocess_links core/profiles/demo_umami/themes/umami/umami.theme Implements hook_preprocess_HOOK() for links.
umami_preprocess_links__media_library_menu core/profiles/demo_umami/themes/umami/umami.theme Implements hook_preprocess_HOOK() for links--media-library-menu.
umami_preprocess_menu_local_task core/profiles/demo_umami/themes/umami/umami.theme Implements hook_preprocess_HOOK() for menu-local-task.
umami_theme_suggestions_block_alter core/profiles/demo_umami/themes/umami/umami.theme Implements hook_theme_suggestions_HOOK_alter() for block templates.
under_test_update_1 core/tests/Drupal/Tests/Core/Update/UpdateHookRegistryTest.php Simulates a hook_update_N function.
under_test_update_1234_failed core/tests/Drupal/Tests/Core/Update/UpdateHookRegistryTest.php Simulates a hook_update_N function.

Other projects


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