W3cubDocs

/Drupal 8

function update_fetch_data

update_fetch_data()

Attempts to fetch update data after loading the necessary include file.

See also

\Drupal\update\UpdateProcessor::fetchData()

File

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

Code

function update_fetch_data() {
  \Drupal::service('update.processor')->fetchData();
}

© 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_fetch_data/8.1.x