UPDATE_UNKNOWN

No available update data was found for project. File core/modules/update/update.module, line 54 Handles updates of Drupal core and contributed projects. Code const UPDATE_UNKNOWN = -2;

update_uninstall

update_uninstall() Implements hook_uninstall(). File core/modules/update/update.install, line 72 Install, update, and uninstall functions for the Update Manager module. Code function update_uninstall() { \Drupal::state()->delete('update.last_check'); \Drupal::state()->delete('update.last_email_notification'); $queue = \Drupal::queue('update_fetch_tasks'); $queue->deleteQueue(); }

update_themes_uninstalled

update_themes_uninstalled($themes) Implements hook_themes_uninstalled(). If themes are uninstalled, we invalidate the information of available updates. File core/modules/update/update.module, line 256 Handles updates of Drupal core and contributed projects. Code function update_themes_uninstalled($themes) { // Clear all update module data. update_storage_clear(); }

update_themes_installed

update_themes_installed($themes) Implements hook_themes_installed(). If themes are installed, we invalidate the information of available updates. File core/modules/update/update.module, line 246 Handles updates of Drupal core and contributed projects. Code function update_themes_installed($themes) { // Clear all update module data. update_storage_clear(); }

update_theme

update_theme() Implements hook_theme(). File core/modules/update/update.module, line 187 Handles updates of Drupal core and contributed projects. Code function update_theme() { return array( 'update_last_check' => array( 'variables' => array('last' => 0), ), 'update_report' => array( 'variables' => array('data' => NULL), 'file' => 'update.report.inc', ), 'update_project_status' => array( 'variables' => array('project' =&

update_system_schema_requirements

update_system_schema_requirements() Returns whether the minimum schema requirement has been satisfied. Return value array A requirements info array. File core/includes/update.inc, line 70 Drupal database update API. Code function update_system_schema_requirements() { $requirements = array(); $system_schema = drupal_get_installed_schema_version('system'); $requirements['minimum schema']['title'] = 'Minimum schema version'; if ($system_schema >= \Drupal::CORE_MINIMUM_SCHEMA_VERSIO

update_storage_clear_submit

update_storage_clear_submit($form, FormStateInterface $form_state) Form submission handler for system_modules(). See also update_form_system_modules_alter() File core/modules/update/update.module, line 278 Handles updates of Drupal core and contributed projects. Code function update_storage_clear_submit($form, FormStateInterface $form_state) { // Clear all update module data. update_storage_clear(); }

update_storage_clear

update_storage_clear() Invalidates stored data relating to update status. File core/modules/update/update.module, line 641 Handles updates of Drupal core and contributed projects. Code function update_storage_clear() { \Drupal::keyValueExpirable('update')->deleteAll(); \Drupal::keyValueExpirable('update_available_release')->deleteAll(); }

update_set_schema

update_set_schema($module, $schema_version) Forces a module to a given schema version. This function is rarely necessary. Parameters string $module: Name of the module. string $schema_version: The schema version the module should be set to. File core/includes/update.inc, line 113 Drupal database update API. Code function update_set_schema($module, $schema_version) { \Drupal::keyValue('system.schema')->set($module, $schema_version); // system_list_reset() is in module.inc but that woul

UPDATE_REVOKED

Current release has been unpublished and is no longer available. File core/modules/update/update.module, line 29 Handles updates of Drupal core and contributed projects. Code const UPDATE_REVOKED = 2;