Functions - main - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
system_update_12000 core/modules/system/system.install Remove the deprecated sequences table.
system_update_12001 core/modules/system/system.install Equivalent update to 11102.
system_update_last_removed core/modules/system/system.install Implements hook_update_last_removed().
t core/includes/bootstrap.inc Translates a string to the current language or to a given language. 275 99
taxonomy_build_node_index

in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement.

core/modules/taxonomy/taxonomy.module Builds and inserts taxonomy index entries for a given node.
taxonomy_delete_node_index

in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement.

core/modules/taxonomy/taxonomy.module Deletes taxonomy index entries for a given node.
taxonomy_removed_post_updates core/modules/taxonomy/taxonomy.post_update.php Implements hook_removed_post_updates().
taxonomy_term_is_page

in drupal:11.3.0 and is removed from drupal:13.0.0. There is no replacement, check the view mode instead during rendering.

core/modules/taxonomy/taxonomy.module Returns whether the current page is the page of the passed-in term.
taxonomy_update_last_removed core/modules/taxonomy/taxonomy.install Implements hook_update_last_removed().
template_preprocess_block_content_add_list core/modules/block_content/block_content.module Prepares variables for a block type creation list templates.
template_preprocess_field_ui_table

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/field_ui/field_ui.module Prepares variables for field UI overview table templates.
template_preprocess_link_formatter_link_separate

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/link/link.module Prepares variables for separated link field templates.
template_preprocess_module_test_procedural_preprocess_includes core/modules/system/tests/modules/module_test_procedural_preprocess/module_test_procedural_preprocess.additional.inc Template preprocess function for module_test_procedural_preprocess_includes. 1
template_preprocess_module_test_procedural_preprocess_theme core/modules/system/tests/modules/module_test_procedural_preprocess/module_test_procedural_preprocess.theme.inc Template preprocess function for module_test_procedural_preprocess_theme. 1
template_preprocess_responsive_image

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/responsive_image/responsive_image.module Prepares variables for a responsive image.
template_preprocess_responsive_image_formatter

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/responsive_image/responsive_image.module Prepares variables for responsive image formatter templates.
template_preprocess_taxonomy_term

in drupal:11.3.0 and is removed from drupal:13.0.0. Use \Drupal::service(TaxonomyThemeHooks::class)->preprocessTaxonomyTerm($variables) instead.

core/modules/taxonomy/taxonomy.module Prepares variables for taxonomy term templates.
template_preprocess_top_bar

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/navigation/navigation.module Prepares variables for navigation top bar template.
template_preprocess_views_ui_build_group_filter_form

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/views_ui/views_ui.module Prepares variables for Views UI build group filter form templates.
template_preprocess_views_ui_display_tab_bucket

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/views_ui/views_ui.module Prepares variables for Views UI display tab bucket templates.
template_preprocess_views_ui_display_tab_setting

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/views_ui/views_ui.module Prepares variables for Views UI display tab setting templates.
template_preprocess_views_ui_rearrange_filter_form

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/views_ui/views_ui.module Prepares variables for Views UI rearrange filter form templates.
template_preprocess_views_ui_style_plugin_table

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/views_ui/views_ui.module Prepares variables for style plugin table templates.
template_preprocess_views_ui_views_listing_table

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/views_ui/views_ui.module Prepares variables for Views UI view listing templates.
template_preprocess_views_ui_view_preview_section

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/views_ui/views_ui.module Prepares variables for views UI view preview section templates.
testing_hooks_cache_flush core/profiles/tests/testing_hooks/testing_hooks.profile This implements cache_flush.
testing_site_config_install core/profiles/tests/testing_site_config/testing_site_config.install Implements hook_install().
test_access_arguments_resolver_access core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php
test_auto_include core/modules/system/tests/modules/module_implements_alter_test/module_implements_alter_test.module 1
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(). 2
test_base_theme_views_pre_render core/modules/system/tests/themes/test_base_theme/test_base_theme.theme Implements hook_views_pre_render(). 2
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(). 2
test_subtheme_views_pre_render core/modules/system/tests/themes/test_subtheme/test_subtheme.theme Implements hook_views_pre_render(). 2
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().

Other projects


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