function system_updater_info
Same name in other branches
- 7.x modules/system/system.module \system_updater_info()
- 8.9.x core/modules/system/system.module \system_updater_info()
- 10 core/modules/system/system.module \system_updater_info()
Implements hook_updater_info().
File
-
core/
modules/ system/ system.module, line 543
Code
function system_updater_info() {
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.