update.compare.inc

Code required only when comparing available updates to existing data. File core/modules/update/update.compare.inc Functions Name Description update_calculate_project_data Calculates the current update status of all projects on the site. update_calculate_project_update_status Calculates the current update status of a specific project. update_process_project_info Determines version and type information for currently installed projects.

update.fetch.inc

Code required only when fetching information about available updates. File core/modules/update/update.fetch.inc Functions Name Description _update_cron_notify Performs any notifications that should be done once cron fetches new data.

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.install

Install, update, and uninstall functions for the Update Manager module. File core/modules/update/update.install Functions Name Description update_install Implements hook_install(). update_requirements Implements hook_requirements(). update_uninstall Implements hook_uninstall(). update_update_8001 Rebuild the router to ensure admin/reports/updates/check has CSRF protection. _update_requirement_check Fills in the requirements array.

update.manager.inc

Administrative screens and processing functions of the Update Manager module. This allows site administrators with the 'administer software updates' permission to either upgrade existing projects, or download and install new ones, so long as the killswitch setting ('allow_authorize_operations') is not FALSE. To install new code, the administrator is prompted for either the URL of an archive file, or to directly upload the archive file. The archive is loaded into a temporary location, extracted,

update.module

Handles updates of Drupal core and contributed projects. The module checks for available updates of Drupal core and any installed contributed modules and themes. It warns site administrators if newer releases are available via the system status report (admin/reports/status), the module and theme pages, and optionally via email. It also provides the ability to install contributed modules and themes via an user interface. File core/modules/update/update.module Functions Name Description t

update.report.inc

Code required only when rendering the available updates report. File core/modules/update/update.report.inc Functions Name Description template_preprocess_update_project_status Prepares variables for update project status templates. template_preprocess_update_report Prepares variables for project status report templates.

Update::$arguments

An array of values to update to. Type: array File core/lib/Drupal/Core/Database/Query/Update.php, line 36 Class Update General class for an abstracted UPDATE operation. Namespace Drupal\Core\Database\Query Code protected $arguments = array();

Update::$expressionFields

Array of fields to update to an expression in case of a duplicate record. This variable is a nested array in the following format: <some field> => array( 'condition' => <condition to execute, as a string>, 'arguments' => <array of arguments for condition, or NULL for none>, ); Type: array File core/lib/Drupal/Core/Database/Query/Update.php, line 51 Class Update General class for an abstracted UPDATE operation. Namespace Drupal\Core\Database\Query Code prot

Update::$fields

An array of fields that will be updated. Type: array File core/lib/Drupal/Core/Database/Query/Update.php, line 29 Class Update General class for an abstracted UPDATE operation. Namespace Drupal\Core\Database\Query Code protected $fields = array();