Functions - main - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
_locale_refresh_configuration core/modules/locale/locale.module Refreshes configuration after string translations have been updated. 1
_locale_refresh_translations core/modules/locale/locale.module Refresh related information after string translations have been updated. 3
_locale_strip_quotes core/modules/locale/locale.module Removes the quotes and string concatenations from the string. 1
_locale_translation_batch_status_operations core/modules/locale/locale.compare.inc Constructs batch operations for checking remote translation status. 2
_locale_translation_fetch_operations

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

core/modules/locale/locale.fetch.inc Helper function to construct the batch operations to fetch translations.
_locale_translation_prepare_project_list core/modules/locale/locale.compare.inc Prepare module and theme data. 1
_media_get_add_url

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

core/modules/media/media.module Returns the appropriate URL to add media for the current user.
_media_library_configure_form_display core/modules/media_library/media_library.module Ensures that the given media type has a media_library form display. 1
_media_library_configure_view_display core/modules/media_library/media_library.module Ensures that the given media type has a media_library view display. 1
_media_library_media_type_form_submit core/modules/media_library/media_library.module Submit callback for media type form.
_media_library_views_form_media_library_after_build core/modules/media_library/media_library.module Form #after_build callback for media_library view's exposed filters form.
_menu_link_content_update_path_alias

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

core/modules/menu_link_content/menu_link_content.module Helper function to update plugin definition using internal scheme.
_menu_ui_node_save core/modules/menu_ui/menu_ui.module Helper function to create or update a menu link for a node. 2
_node_access_rebuild_batch_finished core/modules/node/node.module Implements callback_batch_finished().
_node_access_rebuild_batch_operation core/modules/node/node.module Implements callback_batch_operation().
_olivero_hex_to_hsl core/themes/olivero/olivero.theme Converts hex color strings to array of HSL values.
_options_values_in_use core/modules/options/options.module Checks if a list of values are being used in actual field values. 2
_responsive_image_build_source_attributes

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

core/modules/responsive_image/responsive_image.module Helper function for template_preprocess_responsive_image().
_responsive_image_image_style_url

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

core/modules/responsive_image/responsive_image.module Wrapper around image_style_url() so we can return an empty image.
_search_find_match_with_simplify core/modules/search/search.module Finds an appropriate keyword in text. 1
_settings_tray_has_block_overrides core/modules/settings_tray/settings_tray.module Checks if a block has overrides. 3
_system_default_theme_features

in drupal:11.3.0 and is removed from drupal:13.0.0. Use \Drupal\Core\Extension\ThemeSettingsProvider::DEFAULT_THEME_FEATURES instead.

core/includes/theme.inc Returns an array of default theme features.
_system_test_first_shutdown_function core/modules/system/tests/modules/system_test/system_test.module Dummy shutdown function which registers another shutdown function. 2
_system_test_second_shutdown_function core/modules/system/tests/modules/system_test/system_test.module Dummy shutdown function. 2
_test_batch_test_callback core/modules/system/tests/modules/test_batch_test/test_batch_test.install Callback for batch operations. 1
_toolbar_get_subtrees_hash core/modules/toolbar/toolbar.module Returns the hash of the user-rendered toolbar subtrees and cacheability. 1
_update_ckeditor5_html_filter

in drupal:11.4.0 and is removed from drupal:12.0.0. Use \Drupal\ckeditor5\Hook\Ckeditor5Hooks::updateCkeditor5HtmlFilter() instead.

core/modules/ckeditor5/ckeditor5.module AJAX callback handler for filter_format_form().
_update_cron_notify core/modules/update/update.fetch.inc Performs any notifications that should be done once cron fetches new data. 1
_update_fix_missing_schema core/includes/update.inc Helper to detect and fix 'missing' schema information. 1
_update_message_text core/modules/update/update.module Returns the appropriate message text when site is out of date or not secure. 2
_update_no_data core/modules/update/update.module Returns a warning message when there is no data about available updates. 2
_update_project_status_sort core/modules/update/update.module Orders projects based on their status. 1
_user_cancel core/modules/user/user.module Implements callback_batch_operation(). 1
_user_cancel_session_regenerate core/modules/user/user.module Implements callback_batch_finished(). 1
_user_mail_notify core/modules/user/user.module Creates and sends a notification email following a change to a user account. 10
_views_query_tag_alter_condition

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

core/modules/views/views.module Replaces the substitutions recursive foreach condition.

Other projects


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