Functions - main - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
options_allowed_values core/modules/options/options.module Returns the array of allowed values for a list field. 6 3
package_manager_post_update_test core/modules/package_manager/tests/fixtures/post_update.php Here is a fake post-update hook.
package_manager_update_2147483647 core/modules/package_manager/tests/fixtures/db_update.php Here is a fake update hook.
path_alias_removed_post_updates core/modules/path_alias/path_alias.post_update.php Implements hook_removed_post_updates().
path_removed_post_updates core/modules/path/path.post_update.php Implements hook_removed_post_updates().
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. 3
search_help_uninstall core/modules/search/modules/search_help/search_help.install Implements hook_uninstall().
search_post_update_search_help_dependencies core/modules/search/search.post_update.php Update config entity dependencies to the Search Help module, if necessary.
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 if Search and Node are installed.
search_update_11401 core/modules/search/search.install Install Help Search module if the Search and Help modules are installed.
search_update_11402 core/modules/search/search.install Install Search node module if node is installed.
search_update_11403 core/modules/search/search.install Install Search user module if user is installed.
search_user_uninstall core/modules/search/modules/search_user/search_user.install Implements hook_uninstall().
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().
standard_install_finished core/profiles/standard/standard.profile Sets a short message to welcome the user to Drupal.
standard_install_tasks_alter core/profiles/standard/standard.profile Implements hook_install_tasks_alter().
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().

Other projects


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