Functions - main - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
node_post_update_add_rebuild_permission_to_roles core/modules/node/node.post_update.php Grants a new permission for rebuilding node access permissions.
node_post_update_create_promote_base_field_overrides core/modules/node/node.post_update.php Creates base field override config for the promote base field on node types.
node_removed_post_updates core/modules/node/node.post_update.php Implements hook_removed_post_updates().
node_schema core/modules/node/node.install Implements hook_schema().
node_type_get_names

in drupal:11.3.0 and is removed from drupal:13.0.0. Use \Drupal::service('entity_type.bundle.info')->getBundleLabels('node') instead.

core/modules/node/node.module Returns a list of available node type names.
node_uninstall core/modules/node/node.install Implements hook_uninstall().
node_update_last_removed core/modules/node/node.install Implements hook_update_last_removed().
olivero_form_system_theme_settings_alter core/themes/olivero/theme-settings.php Implements hook_form_FORM_ID_alter() for system_theme_settings.
olivero_removed_post_updates core/themes/olivero/olivero.post_update.php Implements hook_removed_post_updates().
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_post_update_update_path_alias_revision_indexes core/modules/path_alias/path_alias.post_update.php Update the path_alias_revision indices.
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_post_update_block_with_empty_page_id core/modules/search/search.post_update.php Updates Search Blocks' without an explicit `page_id` from '' to NULL.
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().
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 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.

Other projects


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