Functions - main - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
path_update_last_removed core/modules/path/path.install Implements hook_update_last_removed().
pgsql_test_schema core/modules/system/tests/modules/pgsql_test/pgsql_test.install Implements hook_schema().
pgsql_update_last_removed core/modules/pgsql/pgsql.install Implements hook_update_last_removed().
post_update_test_failing_post_update_exception core/modules/system/tests/modules/post_update_test_failing/post_update_test_failing.post_update.php Post update that throws an exception.
procedural_hook_theme_preprocess_node core/modules/system/tests/themes/HookCollector/procedural_hook_theme/procedural_hook_theme.theme Implements hook_preprocess_HOOK().
procedural_hook_theme_preprocess_node__article core/modules/system/tests/themes/HookCollector/procedural_hook_theme/procedural_hook_theme.theme Implements hook_preprocess_HOOK().
procedural_hook_theme_procedural_alter core/modules/system/tests/themes/HookCollector/procedural_hook_theme/procedural_hook_theme.theme Implements hook_procedural_alter().
procedural_hook_theme_procedural_legacy_alter core/modules/system/tests/themes/HookCollector/procedural_hook_theme/procedural_hook_theme.theme Implements hook_procedural_legacy_alter().
requirements1_test_requirements core/modules/system/tests/modules/requirements1_test/requirements1_test.install Implements hook_requirements().
respond_install_uninstall_hook_test_cache_flush core/modules/system/tests/modules/hook_collector_on_behalf_procedural/hook_collector_on_behalf_procedural.module This implements a hook on behalf of another module.
responsive_image_get_image_dimensions

in drupal:11.3.0 and is removed from drupal:12.0.0. Use \Drupal\responsive_image\ResponsiveImageBuilder::getImageDimensions() instead.

core/modules/responsive_image/responsive_image.module Determines the dimensions of an image.
responsive_image_get_mime_type

in drupal:11.3.0 and is removed from drupal:13.0.0. Use \Drupal\responsive_image\ResponsiveImageBuilder::getMimeType() instead.

core/modules/responsive_image/responsive_image.module Determines the MIME type of an image.
responsive_image_removed_post_updates core/modules/responsive_image/responsive_image.post_update.php Implements hook_removed_post_updates().
rest_removed_post_updates core/modules/rest/rest.post_update.php Implements hook_removed_post_updates().
rest_update_last_removed core/modules/rest/rest.install Implements hook_update_last_removed().
router_test_install core/modules/system/tests/modules/router_test_directory/router_test.install Implements hook_install(). 2
search_excerpt core/modules/search/search.module Returns snippets from a piece of text, with search keywords highlighted. 4
search_help_schema core/modules/search/modules/search_help/search_help.install Implements hook_schema().
search_removed_post_updates core/modules/search/search.post_update.php Implements hook_removed_post_updates().
search_schema core/modules/search/search.install Implements hook_schema().
search_update_11400 core/modules/search/search.install Install Search Node and Search and Node are installed.
serialization_removed_post_updates core/modules/serialization/serialization.post_update.php Implements hook_removed_post_updates().
serialization_update_last_removed core/modules/serialization/serialization.install Implements hook_update_last_removed().
settings_tray_install core/modules/settings_tray/settings_tray.install Implements hook_install().
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

in drupal:11.4.0 and is removed from drupal:13.0.0. To show form elements, use ['#access'] = TRUE. For render elements, use ['#printed'] = FALSE.

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

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

core/modules/syslog/syslog.module Lists all possible syslog facilities for UNIX/Linux.
syslog_install core/modules/syslog/syslog.install Implements hook_install().
syslog_logging_settings_submit

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

core/modules/syslog/syslog.module Form submission handler for system_logging_settings().
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

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

core/modules/system/system.module Checks the existence of the directory specified in $form_element.
system_default_region

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service('theme_handler')->getTheme()->getDefaultRegion() instead.

core/modules/system/system.module Gets the name of the default region for a given theme. 1
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_migrate_compress_setting core/modules/system/system.post_update.php Migrate to new compress setting.
system_post_update_remove_non_admin_routes_state core/modules/system/system.post_update.php Remove non-admin routes state key.
system_region_list

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service('theme_handler')->getTheme()->listAllRegions() or \Drupal::service('theme_handler')->getTheme()->listVisibleRegions() instead.

core/modules/system/system.module Get a list of available regions from a specified theme. 1
system_removed_post_updates core/modules/system/system.post_update.php Implements hook_removed_post_updates().
system_sort_themes

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

core/modules/system/system.module Sorts themes by their names, with the default theme listed first.
system_update_11400 core/modules/system/system.install Install Help Search module if the Search and Help modules are installed.

Other projects


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