Functions - main - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
install_base_system core/includes/install.core.inc Installation task; install the base functionality Drupal needs to bootstrap.
install_begin_request core/includes/install.core.inc Begins an installation request, modifying the installation state as needed. 1
install_bootstrap_full core/includes/install.core.inc Performs a full bootstrap of Drupal during installation.
install_check_class_requirements core/includes/install.inc Checks a module or profile requirements. 2
install_check_localization_server core/includes/install.core.inc Checks if the localization server can be contacted. 1
install_check_requirements core/includes/install.core.inc Checks installation requirements and reports any errors. 1
install_check_translations core/includes/install.core.inc Checks installation requirements and reports any errors. 1 1
install_config_download_translations core/includes/install.core.inc Replaces install_download_translation() during configuration installs.
install_config_import_batch core/includes/install.core.inc Creates a batch for the config importer to process.
install_config_revert_install_changes core/includes/install.core.inc Reverts configuration if hook_install() implementations have made changes.
install_core_entity_type_definitions core/includes/install.core.inc Installs entity type definitions provided by core. 3
install_database_errors core/includes/install.core.inc Checks a database connection and returns any errors. 3
install_display_output core/includes/install.core.inc Displays themed installer output and ends the page request. 4
install_display_requirements core/includes/install.core.inc Displays installation requirements. 2
install_download_additional_translations_operations core/includes/install.core.inc Prepares the system for import and downloads additional translations. 1
install_download_translation core/includes/install.core.inc Download a translation file for the selected language. 1
install_drupal core/includes/install.core.inc Installs Drupal either interactively or via an array of passed-in settings. 3
install_find_translations core/includes/install.core.inc Finds all .po files that are useful to the installer. 1
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

in drupal:11.4.0 and is removed from drupal:12.0.0. Use \Drupal\language\Element\LanguageConfiguration::submit() instead.

core/modules/language/language.module Submit handler for the forms that have a language_configuration element.
language_get_browser_drupal_langcode_mappings

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

core/modules/language/language.module Returns language mappings between browser and Drupal language codes.
language_get_default_langcode

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

core/modules/language/language.module Returns the default language code assigned to an entity type and a bundle. 1

Other projects


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