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_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_verify_update_archive

update_verify_update_archive($project, $archive_file, $directory) Implements hook_verify_update_archive(). First, we ensure that the archive isn't a copy of Drupal core, which the update manager does not yet support. See https://www.drupal.org/node/606592. Then, we make sure that at least one module included in the archive file has an .info.yml file which claims that the code is compatible with the current version of Drupal core. See also \Drupal\Core\Extension\ExtensionDiscovery _system_rebui

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_retrieve_dependencies

update_retrieve_dependencies() Invokes hook_update_dependencies() in all installed modules. This function is similar to \Drupal::moduleHandler()->invokeAll(), with the main difference that it does not require that a module be enabled to invoke its hook, only that it be installed. This allows the update system to properly perform updates even on modules that are currently disabled. Return value An array of return values obtained by merging the results of the hook_update_dependencies() implem

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;

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_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(); }