Functions - 9.5.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
_color_unpack core/modules/color/color.module Converts a hex color into an RGB triplet. 3
_comment_entity_uses_integer_id core/modules/comment/comment.module Determines if an entity type is using an integer-based ID definition. 3
_config_import_test_config_import_steps_alter core/modules/config/tests/config_import_test/config_import_test.module Implements configuration synchronization step added by an alter for testing. 1
_config_test_update_is_syncing_store core/modules/config/tests/config_test/config_test.hooks.inc Helper function for testing hooks during configuration sync. 6
_content_moderation_views_data_object core/modules/content_moderation/content_moderation.views.inc Creates a ViewsData object to respond to views hooks.
_content_translation_form_language_content_settings_form_alter core/modules/content_translation/content_translation.admin.inc (proxied) Implements hook_form_FORM_ID_alter(). 1
_content_translation_install_field_storage_definitions core/modules/content_translation/content_translation.module Installs Content Translation's fields for a given entity type. 2
_content_translation_is_field_translatability_configurable core/modules/content_translation/content_translation.admin.inc Checks whether translatability should be configurable for a field. 1
_content_translation_preprocess_language_content_settings_table core/modules/content_translation/content_translation.admin.inc (proxied) Implements hook_preprocess_HOOK(). 1
_contextual_id_to_links core/modules/contextual/contextual.module Unserializes the result of _contextual_links_to_id(). 2
_contextual_links_to_id core/modules/contextual/contextual.module Serializes #contextual_links property value array to a string. 3
_dblog_get_message_types core/modules/dblog/dblog.module Gathers a list of uniquely defined database log message types. 2
_drupal_error_handler core/includes/bootstrap.inc Provides custom PHP error handling. 3
_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. 3
_drupal_exception_handler_additional core/includes/bootstrap.inc Displays any additional errors caught while handling an exception. 1
_drupal_flush_css_js core/includes/common.inc Changes the dummy query string added to all CSS and JavaScript files. 3
_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_rewrite_settings_dump core/includes/install.inc Helper for drupal_rewrite_settings(). 1
_drupal_rewrite_settings_dump_one core/includes/install.inc Helper for drupal_rewrite_settings(). 2
_drupal_rewrite_settings_global core/includes/install.inc Helper for drupal_rewrite_settings(). 1
_drupal_rewrite_settings_is_array_index core/includes/install.inc Helper for drupal_rewrite_settings(). 1
_drupal_rewrite_settings_is_simple core/includes/install.inc Helper for drupal_rewrite_settings(). 1
_drupal_schema_initialize

in drupal:9.2.0 and is removed from drupal:10.0.0. No direct replacement is provided.

core/includes/schema.inc Fills in required default values for table definitions from hook_schema(). 3
_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
_editor_delete_file_usage core/modules/editor/editor.module Deletes file usage of files referenced by formatted text fields. 5
_editor_get_file_uuids_by_field core/modules/editor/editor.module Finds all files referenced (data-entity-uuid) by formatted text fields. 6
_editor_get_formatted_text_fields core/modules/editor/editor.module Determines the formatted text fields on an entity. 1
_editor_parse_file_uuids core/modules/editor/editor.module Parse an HTML snippet for any linked file with data-entity-uuid attributes. 1
_editor_record_file_usage core/modules/editor/editor.module Records file usage of files referenced by formatted text fields. 2
_entity_test_record_hooks core/modules/system/tests/modules/entity_test/entity_test.module Helper function to be used to record hook invocations. 20
_field_create_entity_from_ids core/modules/field/field.module Assembles a partial entity structure with initial IDs. 4
_field_multiple_value_form_sort_helper core/includes/theme.inc Callback for usort() within template_preprocess_field_multiple_value_form(). 2
_field_test_alter_widget core/modules/field/tests/modules/field_test/field_test.module Sets up alterations for widget alter tests. 3
_file_save_upload_from_form core/modules/file/file.module Saves form file uploads. 4
_file_save_upload_single

in drupal:9.3.0 and is removed from drupal:10.0.0. Use \Drupal\file\Upload\FileUploadHandler::handleFileUpload() instead.

core/modules/file/file.module Saves a file upload to a new location. 1
_file_test_get_return core/modules/file/tests/file_test/file_test.module Load the appropriate return value. 2
_file_test_log_call core/modules/file/tests/file_test/file_test.module Store the values passed to a hook invocation. 8
_filter_autop core/modules/filter/filter.module Converts line breaks into <p> and <br> in an intelligent fashion. 2
_filter_html_escape core/modules/filter/filter.module Escapes all HTML tags, so they will be visible instead of being effective. 1
_filter_html_image_secure_process core/modules/filter/filter.module Process callback for local image filter. 1
_filter_tips core/modules/filter/filter.module Retrieves the filter tips. 2
_filter_url core/modules/filter/filter.module Converts text into hyperlinks automatically. 2
_filter_url_escape_comments core/modules/filter/filter.module Escapes the contents of HTML comments. 1 1
_filter_url_parse_email_links core/modules/filter/filter.module Makes links out of email addresses.
_filter_url_parse_full_links core/modules/filter/filter.module Makes links out of absolute URLs.

Other projects


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