diff --git a/core/modules/system/lib/Drupal/system/Form/ModulesUninstallForm.php b/core/modules/system/lib/Drupal/system/Form/ModulesUninstallForm.php index 1cbc162..08a5062 100644 --- a/core/modules/system/lib/Drupal/system/Form/ModulesUninstallForm.php +++ b/core/modules/system/lib/Drupal/system/Form/ModulesUninstallForm.php @@ -90,7 +90,7 @@ public function buildForm(array $form, array &$form_state) { $form['uninstall'] = array( '#type' => 'table', '#header' => array( - 'name' => array( + 'title' => array( 'data' => $this->t('Name'), 'specifier' => 'name', ), @@ -107,19 +107,10 @@ public function buildForm(array $form, array &$form_state) { ); foreach ($uninstallable as $module) { - $name = $module->info['name'] ?: $module->name; - - $checkboxId = 'edit-uninstall-'.$module->name; - $form['uninstall'][$module->name]['select'] = array( - '#id' => $checkboxId, - '#type' => 'checkbox', - '#title' => $this->t('Uninstall @module module', array('@module' => $name)), - '#title_display' => 'invisible', - ); - $form['uninstall'][$module->name]['name']['#prefix'] = ''; + // Define