Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. update.module

function 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()
UpdateHooks::cron in core/modules/update/src/Hook/UpdateHooks.php
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 140

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal