Functions - 9.5.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
system_retrieve_file core/modules/system/system.module Attempts to get a file using Guzzle HTTP client and to store it locally. 3
system_schema core/modules/system/system.install Implements hook_schema(). 2
system_sort_modules_by_info_name

in drupal:9.3.0 and is removed from drupal:10.0.0. Use \Drupal\Core\Extension\ExtensionList::sortByName() instead.

core/modules/system/system.module Array sorting callback; sorts modules by their name. 1
system_sort_themes core/modules/system/system.module Sorts themes by their names, with the default theme listed first. 1
system_system_info_alter core/modules/system/system.module Implements hook_system_info_alter().
system_test_filetransfer_info core/modules/system/tests/modules/system_test/system_test.module Implements hook_filetransfer_info().
system_test_help core/modules/system/tests/modules/system_test/system_test.module Implements hook_help(). 1
system_test_modules_installed core/modules/system/tests/modules/system_test/system_test.module Implements hook_modules_installed().
system_test_modules_uninstalled core/modules/system/tests/modules/system_test/system_test.module Implements hook_modules_uninstalled().
system_test_module_preinstall core/modules/system/tests/modules/system_test/system_test.module Implements hook_module_preinstall().
system_test_module_preuninstall core/modules/system/tests/modules/system_test/system_test.module Implements hook_module_preuninstall().
system_test_page_attachments core/modules/system/tests/modules/system_test/system_test.module Implements hook_page_attachments().
system_test_system_info_alter core/modules/system/tests/modules/system_test/system_test.module Implements hook_system_info_alter().
system_theme core/modules/system/system.module Implements hook_theme().
system_theme_registry_alter core/modules/system/system.module Implements hook_theme_registry_alter().
system_theme_suggestions_field core/modules/system/system.module Implements hook_theme_suggestions_HOOK().
system_theme_suggestions_html core/modules/system/system.module Implements hook_theme_suggestions_HOOK().
system_theme_suggestions_maintenance_page core/modules/system/system.module Implements hook_theme_suggestions_HOOK().
system_theme_suggestions_page core/modules/system/system.module Implements hook_theme_suggestions_HOOK().
system_theme_suggestions_region core/modules/system/system.module Implements hook_theme_suggestions_HOOK().
system_time_zones core/modules/system/system.module Generate an array of time zones and their local time&date. 9
system_updater_info core/modules/system/system.module Implements hook_updater_info().
system_update_8901 core/modules/system/system.install Update the stored schema data for entity identifier fields.
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. 781 96
taxonomy_build_node_index core/modules/taxonomy/taxonomy.module Builds and inserts taxonomy index entries for a given node. 2
taxonomy_delete_node_index core/modules/taxonomy/taxonomy.module Deletes taxonomy index entries for a given node. 2
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_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_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_update_last_removed core/modules/taxonomy/taxonomy.install Implements hook_update_last_removed().
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
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.

Other projects


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