Handles update checking for Backdrop core and contributed projects.

The module checks for available updates of Backdrop core and any installed contributed modules, themes, and layouts. It warns site administrators if newer releases are available via the system status report (admin/reports/status), the module, theme and layout pages, and optionally via e-mail.

File

modules/update/update.module

Functions

Namesort descending Description
update_admin_bar_cache_info Implements hook_admin_bar_cache_info().
_update_cache_clear Invalidates cached data relating to update status.
update_cache_clear_submit Form submission handler for system_modules().
_update_cache_get Retrieves data from the private update status cache table.
_update_cache_set Stores data in the private update status cache table.
_update_checking_enabled Check if update checking should make HTTP requests to the update server.
update_config_info Implements hook_config_info().
update_create_fetch_task Creates a new fetch task after loading the necessary include file.
update_cron Implements hook_cron().
update_fetch_data Attempts to fetch update data after loading the necessary include file.
update_flush_caches Implements hook_flush_caches().
update_form_system_modules_alter Implements hook_form_FORM_ID_alter() for system_modules().
update_get_available Tries to get update information from cache and refreshes it when necessary.
_update_get_cached_available_releases Returns all currently cached data about available releases for all projects.
_update_get_cache_multiple Returns an array of cache items with a given cache ID prefix.
update_init Implements hook_init().
update_mail Implements hook_mail().
update_manager_access Access callback: Resolves if the current user can access updater menu items.
update_menu Implements hook_menu().
_update_message_text Returns the appropriate message text when site is out of date or not secure.
_update_no_data Returns a warning message when there is no data about available updates.
_update_project_status_sort Orders projects based on their status.
update_refresh Refreshes the release data after loading the necessary include file.
update_theme Implements hook_theme().
update_themes_disabled Implements hook_themes_disabled().
update_themes_enabled Implements hook_themes_enabled().

Constants

Namesort descending Description
UPDATE_CURRENT Project is up to date.
UPDATE_DEFAULT_URL URL to check for updates, if a given project doesn't define its own.
UPDATE_FETCH_PENDING We need to (re)fetch available update data for this project.
UPDATE_NOT_CHECKED Project's status cannot be checked.
UPDATE_NOT_CURRENT Project has a new release available, but it is not a security release.
UPDATE_NOT_FETCHED There was a failure fetching available update data for this project.
UPDATE_NOT_IMPLEMENTED The update server is a placeholder server that has not yet been implemented.
UPDATE_NOT_SECURE Project is missing security update(s).
UPDATE_NOT_SUPPORTED Current release is no longer supported by the project maintainer.
UPDATE_REVOKED Current release has been unpublished and is no longer available.
UPDATE_UNKNOWN No available update data was found for project.