function SystemHooks::updaterInfo

Implements hook_updater_info().

File

core/modules/system/src/Hook/SystemHooks.php, line 163

Class

SystemHooks
Hook implementations for system.

Namespace

Drupal\system\Hook

Code

public function updaterInfo() {
    return [
        'module' => [
            'class' => 'Drupal\\Core\\Updater\\Module',
            'name' => t('Update modules'),
            'weight' => 0,
        ],
        'theme' => [
            'class' => 'Drupal\\Core\\Updater\\Theme',
            'name' => t('Update themes'),
            'weight' => 0,
        ],
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.