You are here

function update_refresh in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/update/update.module \update_refresh()
  2. 6 modules/update/update.module \update_refresh()
  3. 7 modules/update/update.module \update_refresh()

Refreshes the release data after loading the necessary include file.

1 call to update_refresh()
update_cron in core/modules/update/update.module
Implements hook_cron().

File

core/modules/update/update.module, line 349
Handles updates of Drupal core and contributed projects.

Code

function update_refresh() {
  \Drupal::service('update.manager')
    ->refreshUpdateData();
}