Functions - main - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
_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.
_update_fix_missing_schema

in drupal:11.5.0 and is removed from drupal:13.0.0. This function was for internal use only and has no replacement.

core/includes/update.inc Helper to detect and fix 'missing' schema information.
_update_message_text

in drupal:11.5.0 and is removed from drupal:13.0.0. Use \Drupal\update\UpdateMessageTrait::getText() instead.

core/modules/update/update.module Returns the appropriate message text when site is out of date or not secure.
_update_no_data

in drupal:11.5.0 and is removed from drupal:13.0.0. Use \Drupal\update\UpdateMessageTrait::noData() instead.

core/modules/update/update.module Returns a warning message when there is no data about available updates.
_update_project_status_sort

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

core/modules/update/update.module Orders projects based on their status.
_user_cancel

in drupal:11.5.0 and is removed from drupal:13.0.0. Use \Drupal::service(AccountCancellation::class)->cancelAccount() instead.

core/modules/user/user.module Implements callback_batch_operation().
_user_cancel_session_regenerate

in drupal:11.5.0 and is removed from drupal:13.0.0. Use \Drupal\user\AccountCancellation::regenerateSession() instead.

core/modules/user/user.module Implements callback_batch_finished().
_user_mail_notify

in drupal:11.5.0 and is removed from drupal:13.0.0. Use the methods from Drupal\user\NotificationHandler service instead.

core/modules/user/user.module Creates and sends a notification email following a change to a user account. 4
_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.
_views_ui_wrap_views_form_helper_traits

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

core/modules/views_ui/admin.inc Provides a BC layer for procedural deprecated function.

Other projects


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