function update_refresh in Drupal 9
Same name and namespace in other branches
- 8 core/modules/update/update.module \update_refresh()
- 6 modules/update/update.module \update_refresh()
- 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();
}