system_updater_info

system_updater_info()

Implements hook_updater_info().

File

core/modules/system/system.module, line 499
Configuration system that lets administrators modify the workings of the site.

Code

function system_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,
    ),
  );
}
doc_Drupal
2016-10-29 09:46:00
Comments
Leave a Comment

Please login to continue.