function update_refresh

Same name in other branches
  1. 7.x modules/update/update.module \update_refresh()
  2. 8.9.x core/modules/update/update.module \update_refresh()
  3. 10 core/modules/update/update.module \update_refresh()
  4. 11.x core/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 348

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.