Functions - main - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
locale_translation_language_table core/modules/locale/locale.module Form element callback: After build changes to the language update table. 1
locale_translation_load_sources

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleSource::class) ->loadSources($projects, $langcodes) instead.

core/modules/locale/locale.translation.inc Loads cached translation sources containing current translation status.
locale_translation_project_list core/modules/locale/locale.compare.inc Fetch an array of projects for translation update. 2 1
locale_translation_source_build

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleSource::class) ->sourceBuild($project, $langcode, $filename) instead.

core/modules/locale/locale.translation.inc Builds abstract translation source.
locale_translation_source_check_file

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleSource::class)->sourceCheckFile($source) instead.

core/modules/locale/locale.translation.inc Checks whether a po file exists in the local filesystem.
locale_translation_status_delete_languages core/modules/locale/locale.module Delete language entries from the status cache. 1
locale_translation_status_delete_projects core/modules/locale/locale.module Delete project entries from the status cache. 2
locale_translation_status_save core/modules/locale/locale.module Saves the status of translation sources in static cache. 4
locale_translation_update_file_history core/modules/locale/locale.module Updates the {locale_file} table. 3
locale_translation_use_remote_source core/modules/locale/locale.module Checks whether remote translation sources are used. 6
locale_uninstall core/modules/locale/locale.install Implements hook_uninstall().
locale_update_10300 core/modules/locale/locale.install Add an index on locales_location on type and name.
locale_update_last_removed core/modules/locale/locale.install Implements hook_update_last_removed().
media_filter_format_edit_form_validate core/modules/media/media.module Validate callback to ensure filter order and allowed_html are compatible. 2
media_install core/modules/media/media.install Implements hook_install().
media_library_install core/modules/media_library/media_library.install Implements hook_install().
media_library_removed_post_updates core/modules/media_library/media_library.post_update.php Implements hook_removed_post_updates().
media_library_update_last_removed core/modules/media_library/media_library.install Implements hook_update_last_removed().
media_post_update_media_author_views_filter_update core/modules/media/media.post_update.php Empty update function to clear the Views data cache.
media_removed_post_updates core/modules/media/media.post_update.php Implements hook_removed_post_updates().
media_update_last_removed core/modules/media/media.install Implements hook_update_last_removed().
menu_link_content_removed_post_updates core/modules/menu_link_content/menu_link_content.post_update.php Implements hook_removed_post_updates().
menu_link_content_update_last_removed core/modules/menu_link_content/menu_link_content.install Implements hook_update_last_removed().
menu_ui_form_node_form_submit core/modules/menu_ui/menu_ui.module Form submission handler for menu item field on the node form. 1
menu_ui_form_node_type_form_builder core/modules/menu_ui/menu_ui.module Entity builder for the node type form with menu options. 1
menu_ui_form_node_type_form_validate core/modules/menu_ui/menu_ui.module Validate handler for forms with menu options. 1
menu_ui_get_menu_link_defaults core/modules/menu_ui/menu_ui.module Returns the definition for a menu link for the given node. 2
menu_ui_node_builder core/modules/menu_ui/menu_ui.module Entity form builder to add the menu information to the node. 1
microtime core/tests/Drupal/Tests/Component/Datetime/TimeTest.php Shadow microtime system call.
migrate_drupal_removed_post_updates core/modules/migrate_drupal/migrate_drupal.post_update.php Implements hook_removed_post_updates().
migrate_drupal_ui_install core/modules/migrate_drupal_ui/migrate_drupal_ui.install Implements hook_install().
migrate_drupal_uninstall core/modules/migrate_drupal/migrate_drupal.install Implements hook_uninstall().
migrate_drupal_update_last_removed core/modules/migrate_drupal/migrate_drupal.install Implements hook_update_last_removed().
migrate_removed_post_updates core/modules/migrate/migrate.post_update.php Implements hook_removed_post_updates().
migrate_update_last_removed core/modules/migrate/migrate.install Implements hook_update_last_removed().
module_config_sort core/includes/module.inc Sorts the configured list of enabled modules. 7
module_handler_test_added_helper core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_added/module_handler_test_added.module Test function. 1
module_handler_test_all1_hook core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all1/module_handler_test_all1.module Returns an array to test nested merge in invoke all. 1
module_handler_test_all1_module_implements_alter core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all1/module_handler_test_all1.module Implements hook_module_implements_alter().
module_handler_test_all2_hook core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all2/module_handler_test_all2.module Test function. 1
module_handler_test_all2_order1 core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all2/module_handler_test_all2.module Hook implementation, without hook implements doxygen to avoid conversion.
module_handler_test_all2_order2 core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test_all2/module_handler_test_all2.module Hook implementation, without hook implements doxygen to avoid conversion.
module_handler_test_hook core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/module_handler_test.module 1
module_handler_test_hook_include core/tests/Drupal/Tests/Core/Extension/modules/module_handler_test/hook_include.inc Test hook. 1
module_handler_test_multiple_child_install core/modules/system/tests/modules/module_handler_test_multiple/module_handler_test_multiple_child/module_handler_test_multiple_child.install Implements hook_install().
module_handler_test_multiple_install core/modules/system/tests/modules/module_handler_test_multiple/module_handler_test_multiple.install Implements hook_install().
module_implements_alter_test_altered_test_hook core/modules/system/tests/modules/module_implements_alter_test/module_implements_alter_test.module Implements hook_altered_test_hook(). 1
module_implements_alter_test_legacy_module_implements_alter core/tests/Drupal/Tests/Core/Extension/modules/module_implements_alter_test_legacy/module_implements_alter_test_legacy.module Implements hook_module_implements_alter().
module_implements_alter_test_module_implements_alter core/modules/system/tests/modules/module_implements_alter_test/module_implements_alter_test.module Implements hook_module_implements_alter().
module_install_requirements_requirements core/modules/system/tests/modules/module_install_requirements/module_install_requirements.install Implements hook_requirements()

Other projects


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