W3cubDocs

/Drupal 8

update.inc

Drupal database update API.

This file contains functions to perform database updates for a Drupal installation. It is included and used extensively by update.php.

File

core/includes/update.inc

Functions

Name Description
update_already_performed Determines if a module update has already been performed.
update_build_dependency_graph Constructs a graph which encodes the dependencies between module updates.
update_check_incompatibility Tests the compatibility of a module or theme.
update_check_requirements Checks update requirements and reports errors and (optionally) warnings.
update_do_one Implements callback_batch_operation().
update_fix_compatibility Disables any extensions that are incompatible with the current core version.
update_get_update_function_list Returns an organized list of update functions for a set of modules.
update_get_update_list Returns a list of all the pending database updates.
update_invoke_post_update Executes a single hook_post_update_NAME().
update_is_missing Determines if a module update is missing or unavailable.
update_language_list Returns a list of languages set up on the site during upgrades.
update_replace_permissions Replace permissions during update.
update_resolve_dependencies Resolves dependencies in a set of module updates, and orders them correctly.
update_retrieve_dependencies Invokes hook_update_dependencies() in all installed modules.
update_set_schema Forces a module to a given schema version.
update_system_schema_requirements Returns whether the minimum schema requirement has been satisfied.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!includes!update.inc/8.1.x