Functions - main - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
_batch_needs_update core/includes/batch.inc Checks whether the batch information needs to be updated in the storage. 3
_batch_next_set core/includes/batch.inc Retrieves the next set in a batch. 1
_batch_page core/includes/batch.inc Renders the batch processing page based on the current state of the batch. 3
_batch_populate_queue core/includes/form.inc Populates a job queue with the operations of a batch set. 2
_batch_process core/includes/batch.inc Processes sets in a batch. 3
_batch_progress_page core/includes/batch.inc Outputs a batch processing page. 1
_batch_queue core/includes/form.inc Returns a queue object for a batch set. 3
_batch_shutdown core/includes/batch.inc Shutdown function: Stores the current batch data for the next request. 1
_batch_test_set_file_callback_1 core/modules/system/tests/modules/batch_test/batch_test.set_file.inc Implements callback_batch_operation(). 1
_batch_test_set_file_finished_1 core/modules/system/tests/modules/batch_test/batch_test.set_file.inc Implements callback_batch_finished(). 1
_ckeditor5_get_langcode_mapping

in drupal:11.3.0 and is removed from drupal:12.0.0. Use \Drupal\Core\Language\LanguageManagerInterface instead.

core/modules/ckeditor5/ckeditor5.module Returns a list of language codes supported by CKEditor 5.
_ckeditor5_theme_css

in drupal:11.4.0 and is removed from drupal:12.0.0. No replacement is provided.

core/modules/ckeditor5/ckeditor5.module Retrieves the default theme's CKEditor 5 stylesheets.
_claro_convert_link_to_action_link core/themes/claro/claro.theme Converts a link render element to an action link.
_claro_preprocess_file_and_image_widget core/themes/claro/claro.theme Helper pre-process callback for file_managed_file and image_widget.
_comment_entity_uses_integer_id

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\Core\Entity\EntityTypeInterface::hasIntegerId() instead.

core/modules/comment/comment.module Determines if an entity type is using an integer-based ID definition.
_content_translation_install_field_storage_definitions

in drupal:11.4.0 and is removed from drupal:12.0.0. Use ContentTranslationHooks::installFieldStorageDefinitions() instead.

core/modules/content_translation/content_translation.module Installs Content Translation's fields for a given entity type.
_contextual_id_to_links

in drupal:11.4.0 and is removed from drupal:12.0.0. Use \Drupal\contextual\ContextualLinksSerializer::idToLinks() instead.

core/modules/contextual/contextual.module Unserializes the result of ContextualLinksSerializer::linksToId().
_contextual_links_to_id

in drupal:11.4.0 and is removed from drupal:12.0.0. Use \Drupal\contextual\ContextualLinksSerializer::linksToId() instead.

core/modules/contextual/contextual.module Serializes #contextual_links property value array to a string.
_dblog_get_message_types

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(\Drupal\dblog\DbLogFilters::class)->getMessageTypes() instead.

core/modules/dblog/dblog.module Gathers a list of uniquely defined database log message types.
_drupal_error_handler core/includes/bootstrap.inc Provides custom PHP error handling. 6
_drupal_error_handler_real core/includes/errors.inc Provides custom PHP error handling. 1
_drupal_error_header core/includes/errors.inc Adds error information to headers so that tests can access it. 2
_drupal_exception_handler core/includes/bootstrap.inc Provides custom PHP exception handling. 4
_drupal_exception_handler_additional core/includes/bootstrap.inc Displays any additional errors caught while handling an exception. 1
_drupal_get_error_level core/includes/errors.inc Returns the current error level. 2
_drupal_log_error core/includes/errors.inc Logs a PHP error or exception and displays an error page in fatal cases. 2
_drupal_maintenance_theme core/includes/theme.maintenance.inc Sets up the theming system for maintenance page. 1 1
_drupal_shutdown_function core/includes/bootstrap.inc Executes registered shutdown functions. 1 1
_drupal_shutdown_function_handle_exception core/includes/bootstrap.inc Displays and logs any errors that may happen during shutdown. 1
_field_create_entity_from_ids

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

core/modules/field/field.module Assembles a partial entity structure with initial IDs.
_file_save_upload_from_form core/modules/file/file.module Saves form file uploads. 5
_filter_autop

in drupal:11.4.0 and is removed from drupal:13.0.0. The logic has been included in \Drupal\filter\Plugin\Filter\FilterAutoP::process() and no replacement is provided.

core/modules/filter/filter.module Converts line breaks into <p> and <br> in an intelligent fashion.
_filter_html_escape

in drupal:11.4.0 and is removed from drupal:13.0.0. The logic has been included in \Drupal\filter\Plugin\Filter\FilterHtmlEscape::process() and no replacement is provided.

core/modules/filter/filter.module Escapes all HTML tags, so they will be visible instead of being effective.
_filter_html_image_secure_process

in drupal:11.4.0 and is removed from drupal:13.0.0. The logic is included in \Drupal\filter\Plugin\Filter\FilterHtmlImageSecure::process() and no replacement is provided.

core/modules/filter/filter.module Process callback for local image filter.
_filter_tips

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

core/modules/filter/filter.module Retrieves the filter tips.
_filter_url

in drupal:11.4.0 and is removed from drupal:13.0.0. The logic has been included in \Drupal\filter\Plugin\Filter\FilterUrl::process() and no replacement is provided.

core/modules/filter/filter.module Converts text into hyperlinks automatically.
_filter_url_escape_comments

in drupal:11.4.0 and is removed from drupal:13.0.0. The logic has been split between \Drupal\filter\Plugin\Filter\FilterUrl::escapeComments() and \Drupal\filter\Plugin\Filter\FilterUrl::unescapeComments(), and no replacement is provided.

core/modules/filter/filter.module Escapes the contents of HTML comments.
_filter_url_parse_email_links

in drupal:11.4.0 and is removed from drupal:13.0.0. The logic has been included in \Drupal\filter\Plugin\Filter\FilterUrl::parseEmailLinks() and no replacement is provided.

core/modules/filter/filter.module Makes links out of email addresses.
_filter_url_parse_full_links

in drupal:11.4.0 and is removed from drupal:13.0.0. The logic has been included in \Drupal\filter\Plugin\Filter\FilterUrl::parseFullLinks() and no replacement is provided.

core/modules/filter/filter.module Makes links out of absolute URLs.
_filter_url_parse_partial_links

in drupal:11.4.0 and is removed from drupal:13.0.0. The logic has been included in \Drupal\filter\Plugin\Filter\FilterUrl::parsePartialLinks() and no replacement is provided.

core/modules/filter/filter.module Makes links out of domain names starting with "www.".
_filter_url_trim

in drupal:11.4.0 and is removed from drupal:13.0.0. The logic has been included in \Drupal\filter\Plugin\Filter\FilterUrl::trimUrl() and no replacement is provided.

core/modules/filter/filter.module Shortens a long URL to a given length ending with an ellipsis. 3
_install_config_locale_overrides core/includes/install.core.inc Creates a batch to process config translations after installing from config. 1
_install_config_locale_overrides_process_batch core/includes/install.core.inc Batch operation callback for install_config_locale_overrides(). 1
_install_get_version_info core/includes/install.core.inc Extracts version information from a Drupal core version string. 3
_install_module_batch core/includes/install.core.inc Implements callback_batch_operation(). 2
_install_prepare_import core/includes/install.core.inc Tells the translation import process that Drupal core is installed. 1
_install_select_profile core/includes/install.core.inc Determines the installation profile to use in the installer. 2
_locale_invalidate_js core/modules/locale/locale.module Force the JavaScript translation file(s) to be refreshed. 4 1
_locale_parse_js_file core/modules/locale/locale.module Parses a JavaScript file, extracts translatable strings, and saves them. 2
_locale_rebuild_js core/modules/locale/locale.module Creates or recreates the JavaScript translation file for a language. 2

Other projects


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