function update_refresh

Same name in other branches
  1. 7.x modules/update/update.module \update_refresh()
  2. 9 core/modules/update/update.module \update_refresh()
  3. 8.9.x core/modules/update/update.module \update_refresh()
  4. 10 core/modules/update/update.module \update_refresh()

Refreshes the release data after loading the necessary include file.

1 call to update_refresh()
UpdateHooks::cron in core/modules/update/src/Hook/UpdateHooks.php
Implements hook_cron().

File

core/modules/update/update.module, line 131

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.