Functions - main - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
shortcut_install core/modules/shortcut/shortcut.install Implements hook_install().
shortcut_renderable_links core/modules/shortcut/shortcut.module Returns an array of shortcut links, suitable for rendering. 1
shortcut_schema core/modules/shortcut/shortcut.install Implements hook_schema().
shortcut_set_edit_access core/modules/shortcut/shortcut.module Access callback for editing a shortcut set. 2
shortcut_set_switch_access core/modules/shortcut/shortcut.module Access callback for switching the shortcut set assigned to a user account. 1
shortcut_uninstall core/modules/shortcut/shortcut.install Implements hook_uninstall().
show core/includes/common.inc Shows a hidden element for later rendering. 1 12
stable9_preprocess_item_list__search_results core/themes/stable9/stable9.theme Implements hook_preprocess_item_list__search_results().
stable9_preprocess_views_view core/themes/stable9/stable9.theme Implements hook_preprocess_views_view().
standard_install core/profiles/standard/standard.install Implements hook_install().
starterkit_theme_preprocess_image_widget core/themes/starterkit_theme/starterkit_theme.theme Implements hook_preprocess_image_widget().
syslog_facility_list core/modules/syslog/syslog.module Lists all possible syslog facilities for UNIX/Linux. 1
syslog_install core/modules/syslog/syslog.install Implements hook_install().
syslog_logging_settings_submit core/modules/syslog/syslog.module Form submission handler for system_logging_settings(). 1
syslog_update_last_removed core/modules/syslog/syslog.install Implements hook_update_last_removed().
system_admin_compact_mode core/modules/system/system.module Determines whether the current user is in compact mode. 3
system_check_directory core/modules/system/system.module Checks the existence of the directory specified in $form_element. 1
system_default_region core/modules/system/system.module Gets the name of the default region for a given theme. 2
system_install core/modules/system/system.install Implements hook_install().
system_module_test_install core/modules/system/tests/modules/system_module_test/system_module_test.install Implements hook_install().
system_post_update_convert_empty_country_and_timezone_settings_to_null core/modules/system/system.post_update.php Updates system.date config to NULL for empty country and timezone defaults.
system_post_update_convert_empty_description_entity_form_modes_to_null core/modules/system/system.post_update.php Updates entity_form_mode descriptions from empty string to null.
system_post_update_delete_rss_config core/modules/system/system.post_update.php Delete obsolete system.rss configuration.
system_post_update_remove_path_key core/modules/system/system.post_update.php Remove path key in system.file.
system_post_update_remove_rss_cdata_subscriber core/modules/system/system.post_update.php Rebuild the container to fix HTML in RSS feeds.
system_post_update_sdc_uninstall core/modules/system/system.post_update.php Uninstall the sdc module if installed.
system_region_list core/modules/system/system.module Get a list of available regions from a specified theme. 10
system_removed_post_updates core/modules/system/system.post_update.php Implements hook_removed_post_updates().
system_schema core/modules/system/system.install Implements hook_schema(). 2
system_sort_themes core/modules/system/system.module Sorts themes by their names, with the default theme listed first. 1
system_update_11001 core/modules/system/system.install Update length of menu_tree fields url and route_param_key from 255 to 2048.
system_update_11100 core/modules/system/system.install Invalidate container because the module handler has changed.
system_update_11102 core/modules/system/system.install Equivalent update to 10400.
system_update_11200 core/modules/system/system.install Add a [time] column to the {simpletest} table, if existing.
system_update_11201 core/modules/system/system.install Add the [alias] field to the {router} table.
system_update_11202 core/modules/system/system.install Add an [exit_code] column to the {simpletest} table, if existing.
system_update_11300 core/modules/system/system.install Equivalent update to 10600.
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. 303 97
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

in drupal:11.2.0 and is removed from drupal:12.0.0. There is no replacement, default preprocess variables are added for all theme hooks directly in \Drupal\Core\Theme\ThemeManager.

core/includes/theme.inc Adds a default set of helper variables for preprocessors and templates.
template_preprocess_admin_block_content

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/system/system.module Prepares variables for administrative content block templates.
template_preprocess_admin_page

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/system/system.module Prepares variables for administrative index page templates.
template_preprocess_authorize_report

in drupal:11.2.0 and is removed from drupal:12.0.0. There is no replacement. Use composer to manage the code for your site.

core/includes/theme.inc Prepares variables for authorize.php operation report templates.
template_preprocess_block

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

core/modules/block/block.module Prepares variables for block templates.
template_preprocess_block_content_add_list core/modules/block_content/block_content.module Prepares variables for a block type creation list templates.

Other projects


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