Provide information on Updaters (classes that can update Drupal).
Drupal\Core\Updater\Updater is a class that knows how to update various parts of the Drupal file system, for example to update modules that have newer releases, or to install a new theme.
An associative array of information about the updater(s) being provided. This array is keyed by a unique identifier for each updater, and the values are subarrays that can contain the following keys:
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
function hook_updater_info() {
return array(
'module' => array(
'class' => 'Drupal\\Core\\Updater\\Module',
'name' => t('Update modules'),
'weight' => 0,
),
'theme' => array(
'class' => 'Drupal\\Core\\Updater\\Theme',
'name' => t('Update themes'),
'weight' => 0,
),
);
}