Implements hook_updater_info().
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, ], ]; }