Functions - main - drupal
| Title | Deprecated | File name | Summary | Direct uses | Strings |
|---|---|---|---|---|---|
| _drupal_exception_handler_additional | core/ |
Displays any additional errors caught while handling an exception. | 1 | ||
| _drupal_get_error_level | core/ |
Returns the current error level. | 2 | ||
| _drupal_log_error | core/ |
Logs a PHP error or exception and displays an error page in fatal cases. | 2 | ||
| _drupal_maintenance_theme | core/ |
Sets up the theming system for maintenance page. | 1 | 1 | |
| _drupal_shutdown_function | core/ |
Executes registered shutdown functions. | 1 | 1 | |
| _drupal_shutdown_function_handle_exception | core/ |
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/ |
Assembles a partial entity structure with initial IDs. | ||
| _file_save_upload_from_form | core/ |
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/ |
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/ |
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/ |
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/ |
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/ |
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/ |
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/ |
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/ |
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/ |
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/ |
Shortens a long URL to a given length ending with an ellipsis. | 3 | |
| _install_config_locale_overrides | core/ |
Creates a batch to process config translations after installing from config. | 1 | ||
| _install_config_locale_overrides_process_batch | core/ |
Batch operation callback for install_config_locale_overrides(). | 1 | ||
| _install_get_version_info | core/ |
Extracts version information from a Drupal core version string. | 1 | ||
| _install_module_batch | core/ |
Implements callback_batch_operation(). | 2 | ||
| _install_select_profile | core/ |
Determines the installation profile to use in the installer. | 2 | ||
| _locale_invalidate_js | core/ |
Force the JavaScript translation file(s) to be refreshed. | 4 | 1 | |
| _locale_parse_js_file | core/ |
Parses a JavaScript file, extracts translatable strings, and saves them. | 2 | ||
| _locale_rebuild_js | core/ |
Creates or recreates the JavaScript translation file for a language. | 2 | ||
| _locale_refresh_configuration | core/ |
Refreshes configuration after string translations have been updated. | 1 | ||
| _locale_refresh_translations | core/ |
Refresh related information after string translations have been updated. | 3 | ||
| _locale_strip_quotes | core/ |
Removes the quotes and string concatenations from the string. | 1 | ||
| _locale_translation_batch_status_operations | in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleFetch::class)->getStatusOperations() instead. |
core/ |
Constructs batch operations for checking remote translation status. | ||
| _locale_translation_fetch_operations | in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement. |
core/ |
Helper function to construct the batch operations to fetch translations. | ||
| _locale_translation_prepare_project_list | in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement. |
core/ |
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/ |
Returns the appropriate URL to add media for the current user. | ||
| _media_library_configure_form_display | core/ |
Ensures that the given media type has a media_library form display. | 1 | ||
| _media_library_configure_view_display | core/ |
Ensures that the given media type has a media_library view display. | 1 | ||
| _media_library_media_type_form_submit | core/ |
Submit callback for media type form. | |||
| _media_library_views_form_media_library_after_build | core/ |
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/ |
Helper function to update plugin definition using internal scheme. | ||
| _menu_ui_node_save | in drupal:11.4.0 and is removed from drupal:12.0.0. Use \Drupal\menu_ui\MenuUiUtility::menuUiNodeSave() instead. |
core/ |
Helper function to create or update a menu link for a node. | ||
| _olivero_hex_to_hsl | core/ |
Converts hex color strings to array of HSL values. | |||
| _options_values_in_use | core/ |
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/ |
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/ |
Wrapper around image_style_url() so we can return an empty image. | ||
| _search_find_match_with_simplify | core/ |
Finds an appropriate keyword in text. | 1 | ||
| _settings_tray_has_block_overrides | core/ |
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/ |
Returns an array of default theme features. | ||
| _system_test_first_shutdown_function | core/ |
Dummy shutdown function which registers another shutdown function. | 2 | ||
| _system_test_second_shutdown_function | core/ |
Dummy shutdown function. | 2 | ||
| _test_batch_test_callback | core/ |
Callback for batch operations. | 1 | ||
| _toolbar_get_subtrees_hash | core/ |
Returns the hash of the user-rendered toolbar subtrees and cacheability. | 1 |
Pagination
- Previous page
- Page 20
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.