function update_refresh

update_refresh()

Refreshes the release data after loading the necessary include file.

File

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

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!update!update.module/function/update_refresh/8.1.x