Functions - main - drupal
| Title | Deprecated | File name | Summary | Direct uses | Strings |
|---|---|---|---|---|---|
| install_verify_database_settings | core/ |
Verifies that settings.php specifies a valid database connection. | 1 | ||
| install_verify_requirements | core/ |
Verifies the requirements for installing Drupal. | |||
| jsonapi_install | core/ |
Implements hook_install(). | |||
| jsonapi_update_last_removed | core/ |
Implements hook_update_last_removed(). | |||
| language_configuration_element_submit | core/ |
Submit handler for the forms that have a language_configuration element. | 4 | ||
| language_get_browser_drupal_langcode_mappings | core/ |
Returns language mappings between browser and Drupal language codes. | 1 | ||
| language_get_default_langcode | core/ |
Returns the default language code assigned to an entity type and a bundle. | 4 | ||
| language_negotiation_url_prefixes_update | core/ |
Update the list of prefixes from the installed languages. | 1 | ||
| language_process_language_select | core/ |
Processes a language select list form element. | 1 | ||
| language_removed_post_updates | core/ |
Implements hook_removed_post_updates(). | |||
| language_update_last_removed | core/ |
Implements hook_update_last_removed(). | |||
| layout_builder_removed_post_updates | core/ |
Implements hook_removed_post_updates(). | |||
| layout_builder_schema | core/ |
Implements hook_schema(). | |||
| layout_builder_update_last_removed | core/ |
Implements hook_update_last_removed(). | |||
| layout_discovery_removed_post_updates | core/ |
Implements hook_removed_post_updates(). | |||
| legacy_hook_test_test1 | core/ |
#[LegacyHook] | |||
| legacy_hook_test_test2 | core/ |
||||
| locale_config_batch_build | core/ |
Creates a locale batch to refresh specific configuration. | 1 | ||
| locale_config_batch_finished | core/ |
Implements callback_batch_finished(). | 1 | 1 | |
| locale_config_batch_update_components | core/ |
Builds a locale batch to refresh configuration. | 5 | ||
| locale_config_batch_update_config_translations | core/ |
Implements callback_batch_operation(). | 1 | ||
| locale_config_batch_update_default_config_langcodes | core/ |
Implements callback_batch_operation(). | 1 | ||
| locale_cron_fill_queue | in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement. |
core/ |
Populate a queue with project to check for translation updates. | ||
| locale_form_language_admin_add_form_alter_submit | core/ |
Form submission handler for language_admin_add_form(). | 1 | ||
| locale_form_language_admin_edit_form_alter_submit | core/ |
Form submission handler for language_admin_edit_form(). | 1 | ||
| locale_get_plural | core/ |
Returns plural form index for a specific number. | 2 | 2 | |
| locale_install | core/ |
Implements hook_install(). | |||
| locale_is_translatable | core/ |
Checks whether $langcode is a language supported as a locale target. | 8 | ||
| locale_js_translate | core/ |
Returns a list of translation files given a list of JavaScript files. | 1 | ||
| locale_post_update_clear_translation_path_config | core/ |
Removes the translation.path config. | |||
| locale_removed_post_updates | core/ |
Implements hook_removed_post_updates(). | |||
| locale_schema | core/ |
Implements hook_schema(). | |||
| locale_string_is_safe | core/ |
Check that a string is safe to be added or imported as a translation. | 4 | ||
| locale_system_file_system_settings_submit | in drupal:11.4.0 and is removed from drupal:12.0.0. There is no replacement. |
core/ |
Submit handler for the file system settings form. | ||
| locale_system_remove | core/ |
Delete translation history of modules and themes. | 2 | ||
| locale_system_set_config_langcodes | core/ |
Updates default configuration when new modules or themes are installed. | 2 | ||
| locale_system_update | core/ |
Imports translations when new modules or themes are installed. | 2 | ||
| locale_test_uninstall | core/ |
Implements hook_uninstall(). | |||
| locale_translatable_language_list | core/ |
Returns list of translatable languages. | 14 | ||
| locale_translate_batch_build | core/ |
Build a locale batch from an array of files. | 1 | ||
| locale_translate_batch_finished | core/ |
Implements callback_batch_finished(). | 1 | 1 | |
| locale_translate_batch_import | core/ |
Implements callback_batch_operation(). | 1 | 1 | |
| locale_translate_batch_import_save | core/ |
Implements callback_batch_operation(). | 1 | ||
| locale_translate_batch_refresh | core/ |
Implements callback_batch_operation(). | 1 | ||
| locale_translate_delete_translation_files | in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleFileManager::class) ->deleteTranslationFiles($projects, $langcodes) instead. |
core/ |
Deletes interface translation files and translation history records. | ||
| locale_translate_file_attach_properties | in drupal:11.4.0 and is removed from drupal:13.0.0. Use LocaleFile::createFromPath($filename, $uri, $langCodeOverride) instead. |
core/ |
Generates file properties from filename and options. | ||
| locale_translate_file_create | in drupal:11.4.0 and is removed from drupal:13.0.0. Use LocaleFile instead. |
core/ |
Creates a file object and populates the timestamp and hash properties. | ||
| locale_translate_get_interface_translation_files | in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleFileManager::class) ->getInterfaceTranslationFiles($projects, $langcodes) instead. |
core/ |
Get interface translation files present in the translations directory. | ||
| locale_translation_batch_fetch_build | in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleFetch::class) ->batchFetchBuild($projects, $langcodes, $options) instead. |
core/ |
Builds a batch to download and import project translations. | ||
| locale_translation_batch_fetch_download | core/ |
Implements callback_batch_operation(). | 1 | 3 |
Pagination
- Previous page
- Page 11
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.