Functions - 9.5.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
taxonomy_build_node_index core/modules/taxonomy/taxonomy.module Builds and inserts taxonomy index entries for a given node. 2
taxonomy_crud_taxonomy_vocabulary_presave core/modules/taxonomy/tests/modules/taxonomy_crud/taxonomy_crud.module Implements hook_ENTITY_TYPE_presave() for taxonomy_vocabulary entities.
taxonomy_delete_node_index core/modules/taxonomy/taxonomy.module Deletes taxonomy index entries for a given node. 2
taxonomy_field_views_data_alter core/modules/taxonomy/taxonomy.views.inc Implements hook_field_views_data_alter().
taxonomy_help core/modules/taxonomy/taxonomy.module Implements hook_help().
taxonomy_implode_tags

in drupal:9.3.0 and is removed from drupal:10.0.0. Use \Drupal\Core\Entity\Element\EntityAutocomplete::getEntityLabels() instead.

core/modules/taxonomy/taxonomy.module Implodes a list of tags of a certain vocabulary into a string. 1
taxonomy_node_insert core/modules/taxonomy/taxonomy.module Implements hook_ENTITY_TYPE_insert() for node entities.
taxonomy_node_predelete core/modules/taxonomy/taxonomy.module Implements hook_ENTITY_TYPE_predelete() for node entities.
taxonomy_node_update core/modules/taxonomy/taxonomy.module Implements hook_ENTITY_TYPE_update() for node entities.
taxonomy_post_update_clear_views_argument_validator_plugins_cache core/modules/taxonomy/taxonomy.post_update.php Clear the cache after deprecating Term views argument validator.
taxonomy_removed_post_updates core/modules/taxonomy/taxonomy.post_update.php Implements hook_removed_post_updates().
taxonomy_taxonomy_term_delete core/modules/taxonomy/taxonomy.module Implements hook_ENTITY_TYPE_delete() for taxonomy_term entities.
taxonomy_terms_static_reset

in drupal:9.3.0 and is removed from drupal:10.0.0. Use \Drupal::entityTypeManager()->getStorage('taxonomy_term')->resetCache() instead.

core/modules/taxonomy/taxonomy.module Clear all static cache variables for terms. 1
taxonomy_term_display_configurable_test_entity_base_field_info_alter core/modules/taxonomy/tests/modules/taxonomy_term_display_configurable_test/taxonomy_term_display_configurable_test.module Implements hook_entity_base_field_info_alter().
taxonomy_term_display_configurable_test_entity_type_build core/modules/taxonomy/tests/modules/taxonomy_term_display_configurable_test/taxonomy_term_display_configurable_test.module Implements hook_entity_type_build().
taxonomy_term_is_page core/modules/taxonomy/taxonomy.module Returns whether the current page is the page of the passed-in term. 1
taxonomy_term_load_multiple_by_name

in drupal:9.3.0 and is removed from drupal:10.0.0. Use \Drupal::entityTypeManager()->getStorage('taxonomy_term')->loadByProperties(['name' => $name, 'vid' => $vid]) instead, to get a list of taxonomy term entities having the same name and keyed by their term ID.

core/modules/taxonomy/taxonomy.module Try to map a string to an existing term, as for glossary use. 1
taxonomy_term_title

in drupal:9.3.0 and is removed from drupal:10.0.0. Use $term->label() instead.

core/modules/taxonomy/taxonomy.module Title callback for term pages. 1
taxonomy_term_uri

in drupal:9.3.0 and is removed from drupal:10.0.0. Use $term->toUrl() instead.

core/modules/taxonomy/taxonomy.module Entity URI callback. 1
taxonomy_test_form_taxonomy_term_form_alter core/modules/taxonomy/tests/modules/taxonomy_test/taxonomy_test.module Implements hook_form_BASE_FORM_ID_alter() for the taxonomy term form.
taxonomy_test_query_alter core/modules/taxonomy/tests/modules/taxonomy_test/taxonomy_test.module Implements hook_query_alter(). 2
taxonomy_test_query_taxonomy_term_access_alter core/modules/taxonomy/tests/modules/taxonomy_test/taxonomy_test.module Implements hook_query_TAG_alter(). 2
taxonomy_test_query_term_access_alter core/modules/taxonomy/tests/modules/taxonomy_test/taxonomy_test.module Implements hook_query_TAG_alter(). 2
taxonomy_theme core/modules/taxonomy/taxonomy.module Implements hook_theme().
taxonomy_theme_suggestions_taxonomy_term core/modules/taxonomy/taxonomy.module Implements hook_theme_suggestions_HOOK().
taxonomy_tokens core/modules/taxonomy/taxonomy.tokens.inc Implements hook_tokens().
taxonomy_token_info core/modules/taxonomy/taxonomy.tokens.inc Implements hook_token_info().
taxonomy_update_last_removed core/modules/taxonomy/taxonomy.install Implements hook_update_last_removed().
taxonomy_views_data_alter core/modules/taxonomy/taxonomy.views.inc Implements hook_views_data_alter().
taxonomy_vocabulary_get_names

in drupal:9.3.0 and is removed from drupal:10.0.0. Use \Drupal::entityQuery('taxonomy_vocabulary')->execute() instead.

core/modules/taxonomy/taxonomy.module Get names for all taxonomy vocabularies. 1 2
taxonomy_vocabulary_static_reset

in drupal:9.3.0 and is removed from drupal:10.0.0. Use \Drupal::entityTypeManager()->getStorage('taxonomy_vocabulary')->resetCache($ids) instead.

core/modules/taxonomy/taxonomy.module Clear all static cache variables for vocabularies. 1
telephone_field_formatter_info_alter core/modules/telephone/telephone.module Implements hook_field_formatter_info_alter().
telephone_help core/modules/telephone/telephone.module Implements hook_help().
template_preprocess core/includes/theme.inc Adds a default set of helper variables for preprocessors and templates. 1 6
template_preprocess_admin_block_content core/modules/system/system.admin.inc Prepares variables for administrative content block templates.
template_preprocess_admin_page core/modules/system/system.admin.inc Prepares variables for administrative index page templates.
template_preprocess_aggregator_feed core/modules/aggregator/aggregator.theme.inc Prepares variables for aggregator feed templates.
template_preprocess_aggregator_item core/modules/aggregator/aggregator.theme.inc Prepares variables for aggregator item templates.
template_preprocess_authorize_report core/includes/theme.maintenance.inc Prepares variables for authorize.php operation report templates.
template_preprocess_block core/modules/block/block.module Prepares variables for block templates.
template_preprocess_block_content_add_list core/modules/block_content/block_content.pages.inc Prepares variables for a custom block type creation list templates.
template_preprocess_book_all_books_block core/modules/book/book.module Prepares variables for book listing block templates.
template_preprocess_book_export_html core/modules/book/book.module Prepares variables for book export templates.
template_preprocess_book_navigation core/modules/book/book.module Prepares variables for book navigation templates.
template_preprocess_book_node_export_html core/modules/book/book.module Prepares variables for single node export templates.
template_preprocess_breadcrumb core/includes/theme.inc Prepares variables for breadcrumb templates.
template_preprocess_checkboxes core/includes/form.inc Prepares variables for checkboxes templates.
template_preprocess_ckeditor_settings_toolbar core/modules/ckeditor/ckeditor.admin.inc Prepares variables for CKEditor settings toolbar templates.
template_preprocess_color_scheme_form core/modules/color/color.module Prepares variables for color scheme form templates.
template_preprocess_comment core/modules/comment/comment.module Prepares variables for comment templates.

Other projects


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