Functions - main - drupal
| Title | Deprecated | File name | Summary | Direct uses | Strings |
|---|---|---|---|---|---|
| _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/ |
Determines if an entity type is using an integer-based ID definition. | ||
| _contextual_id_to_links | in drupal:11.4.0 and is removed from drupal:12.0.0. Use \Drupal\contextual\ContextualLinksSerializer::idToLinks() instead. |
core/ |
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/ |
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/ |
Gathers a list of uniquely defined database log message types. | ||
| _drupal_error_handler | core/ |
Provides custom PHP error handling. | 6 | ||
| _drupal_error_handler_real | core/ |
Provides custom PHP error handling. | 1 | ||
| _drupal_error_header | core/ |
Adds error information to headers so that tests can access it. | 2 | ||
| _drupal_exception_handler | core/ |
Provides custom PHP exception handling. | 4 | ||
| _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 | ||
| _file_save_upload_from_form | in drupal:11.5.0 and is removed from drupal:13.0.0. Use \Drupal::service(ManagedFileElementHelper::class)->saveFileUploads() instead. |
core/ |
Saves form file uploads. | ||
| _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_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_database_module_name | core/ |
Gets the database driver module name. | 2 | ||
| _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 | in drupal:11.5.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleJs::class)->invalidate() instead. |
core/ |
Force the JavaScript translation file(s) to be refreshed. | ||
| _locale_parse_js_file | in drupal:11.5.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleJs::class)->parseJsFile() instead. |
core/ |
Parses a JavaScript file, extracts translatable strings, and saves them. | ||
| _locale_rebuild_js | in drupal:11.5.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleJs::class)->rebuild() instead. |
core/ |
Creates or recreates the JavaScript translation file for a language. | ||
| _locale_refresh_configuration | in drupal:11.5.0 and is removed from drupal:13.0.0. There is no replacement. |
core/ |
Refreshes configuration after string translations have been updated. | ||
| _locale_refresh_translations | in drupal:11.5.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleJs::class)->refreshTranslations() instead. |
core/ |
Refresh related information after string translations have been updated. | ||
| _locale_strip_quotes | in drupal:11.5.0 and is removed from drupal:13.0.0. There is no replacement. |
core/ |
Removes the quotes and string concatenations from the string. | ||
| _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. | ||
| _olivero_hex_to_hsl | core/ |
Converts hex color strings to array of HSL values. | |||
| _options_values_in_use | in drupal:11.5.0 and is removed from drupal:13.0.0. The logic has been moved into \Drupal\options\Hook\OptionsHooks::hasValuesInUse() protected method and no replacement is provided. |
core/ |
Checks if a list of values are being used in actual field values. | ||
| _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 |
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.