Skip to content
Snippets Groups Projects
Commit 289b4f77 authored by Angie Byron's avatar Angie Byron
Browse files

#229129 follow-up by Arancaytar, chx, and webchick: Instantiate module package property.

parent f19d83c4
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -92,6 +92,7 @@ function module_rebuild_cache() {
'dependencies' => array(),
'dependents' => array(),
'description' => '',
'package' => 'Other',
'version' => NULL,
'php' => DRUPAL_MINIMUM_PHP,
);
......
......@@ -681,9 +681,6 @@ function system_modules($form_state = array()) {
$extra['dependents'][] = $files[$dependent]->info['name'] . t(' (<span class="admin-disabled">disabled</span>)');
}
}
if (!isset($module->info['package'])) {
$module->info['package'] = 'Other';
}
$form['modules'][$module->info['package']][$filename] = _system_modules_build_row($module->info, $extra);
}
// Add basic information to the fieldsets.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment