function system_updater_info

Same name and namespace in other branches
  1. 10 core/modules/system/system.module \system_updater_info()
  2. 9 core/modules/system/system.module \system_updater_info()
  3. 8.9.x core/modules/system/system.module \system_updater_info()

Implements hook_updater_info().

File

modules/system/system.module, line 1879

Code

function system_updater_info() {
  return array(
    'module' => array(
      'class' => 'ModuleUpdater',
      'name' => t('Update modules'),
      'weight' => 0,
    ),
    'theme' => array(
      'class' => 'ThemeUpdater',
      'name' => t('Update themes'),
      'weight' => 0,
    ),
  );
}

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