function system_updater_info in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/system.module \system_updater_info()
- 7 modules/system/system.module \system_updater_info()
- 9 core/modules/system/system.module \system_updater_info()
Implements hook_updater_info().
File
- core/
modules/ system/ system.module, line 545 - Configuration system that lets administrators modify the workings of the site.
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,
],
];
}