function update_fetch_data
Same name in other branches
- 7.x modules/update/update.module \update_fetch_data()
- 8.9.x core/modules/update/update.module \update_fetch_data()
- 10 core/modules/update/update.module \update_fetch_data()
- 11.x core/modules/update/update.module \update_fetch_data()
Attempts to fetch update data after loading the necessary include file.
See also
\Drupal\update\UpdateProcessor::fetchData()
2 calls to update_fetch_data()
- update_cron in core/
modules/ update/ update.module - Implements hook_cron().
- update_get_available in core/
modules/ update/ update.module - Tries to get update information and refreshes it when necessary.
File
-
core/
modules/ update/ update.module, line 357
Code
function update_fetch_data() {
\Drupal::service('update.processor')->fetchData();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.