Functions - main - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
install_finished core/includes/install.core.inc Performs final installation steps and displays a 'finished' page.
install_finish_translations core/includes/install.core.inc Finishes importing files at end of installation.
install_full_redirect_url core/includes/install.core.inc Returns the complete URL redirected to during an installation request. 1
install_get_form core/includes/install.core.inc Builds and processes a form for the installer environment. 3
install_goto core/includes/install.inc Sends the user to a different installer page. 2
install_import_translations core/includes/install.core.inc Imports languages via a batch process during installation.
install_install_profile core/includes/install.core.inc Installs the install profile.
install_load_profile core/includes/install.core.inc Loads information about the chosen profile during installation. 1
install_profile_info core/includes/install.inc Retrieves information about an installation profile from its .info.yml file. 6
install_profile_modules core/includes/install.core.inc Installs required modules via a batch process. 1
install_profile_themes core/includes/install.core.inc Installs themes.
install_recipe_batch core/includes/install.core.inc Creates a batch for the recipe system to process.
install_recipe_required_modules core/includes/install.core.inc Installs required modules prior to applying a recipe via the installer.
install_redirect_url core/includes/install.core.inc Returns the URL that should be redirected to during an installation request. 3
install_retrieve_file core/includes/install.core.inc Attempts to get a file using a HTTP request and to store it locally. 1
install_run_task core/includes/install.core.inc Runs an individual installation task. 1
install_run_tasks core/includes/install.core.inc Runs all tasks for the current installation request. 1
install_select_language core/includes/install.core.inc Selects which language to use during installation.
install_select_profile core/includes/install.core.inc Selects which profile to install.
install_state_defaults core/includes/install.core.inc Returns an array of default settings for the global installation state. 2
install_tasks core/includes/install.core.inc Returns a list of all tasks the installer currently knows about. 3 2
install_tasks_to_display core/includes/install.core.inc Returns a list of tasks that should be displayed to the end user. 1
install_tasks_to_perform core/includes/install.core.inc Returns a list of tasks to perform during the current installation request. 2
install_verify_completed_task core/includes/install.core.inc Verifies and returns the last installation task that was completed. 2
install_verify_database_ready core/includes/install.core.inc Verify that the database is ready (no existing Drupal installation). 1
install_verify_database_settings core/includes/install.core.inc Verifies that settings.php specifies a valid database connection. 1
install_verify_requirements core/includes/install.core.inc Verifies the requirements for installing Drupal.
jsonapi_install core/modules/jsonapi/jsonapi.install Implements hook_install().
jsonapi_update_last_removed core/modules/jsonapi/jsonapi.install Implements hook_update_last_removed().
language_configuration_element_submit core/modules/language/language.module Submit handler for the forms that have a language_configuration element. 4
language_get_browser_drupal_langcode_mappings core/modules/language/language.module Returns language mappings between browser and Drupal language codes. 1
language_get_default_langcode core/modules/language/language.module Returns the default language code assigned to an entity type and a bundle. 4
language_negotiation_url_prefixes_update core/modules/language/language.module Update the list of prefixes from the installed languages. 1
language_process_language_select core/modules/language/language.module Processes a language select list form element. 1
language_removed_post_updates core/modules/language/language.post_update.php Implements hook_removed_post_updates().
language_update_last_removed core/modules/language/language.install Implements hook_update_last_removed().
layout_builder_removed_post_updates core/modules/layout_builder/layout_builder.post_update.php Implements hook_removed_post_updates().
layout_builder_schema core/modules/layout_builder/layout_builder.install Implements hook_schema().
layout_builder_update_last_removed core/modules/layout_builder/layout_builder.install Implements hook_update_last_removed().
layout_discovery_removed_post_updates core/modules/layout_discovery/layout_discovery.post_update.php Implements hook_removed_post_updates().
legacy_hook_test_test1 core/modules/system/tests/modules/legacy_hook_test/legacy_hook_test.module #[LegacyHook]
legacy_hook_test_test2 core/modules/system/tests/modules/legacy_hook_test/legacy_hook_test.module
locale_config_batch_build core/modules/locale/locale.bulk.inc Creates a locale batch to refresh specific configuration. 1
locale_config_batch_finished core/modules/locale/locale.bulk.inc Implements callback_batch_finished(). 1 1
locale_config_batch_refresh_name

in drupal:11.1.0 and is removed from drupal:12.0.0. Use locale_config_batch_update_config_translations($names, $langcodes, $context) instead.

core/modules/locale/locale.bulk.inc Implements callback_batch_operation(). 1
locale_config_batch_set_config_langcodes

in drupal:11.1.0 and is removed from drupal:12.0.0. Use locale_config_batch_update_default_config_langcodes(&$context) instead.

core/modules/locale/locale.bulk.inc Implements callback_batch_operation(). 1
locale_config_batch_update_components core/modules/locale/locale.bulk.inc Builds a locale batch to refresh configuration. 5
locale_config_batch_update_config_translations core/modules/locale/locale.bulk.inc Implements callback_batch_operation(). 1 1
locale_config_batch_update_default_config_langcodes core/modules/locale/locale.bulk.inc Implements callback_batch_operation(). 1 1
locale_cron_fill_queue

in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement.

core/modules/locale/locale.translation.inc Populate a queue with project to check for translation updates.

Other projects


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