Commit 829715b7 authored by alexpott's avatar alexpott

Issue #2342435 by tstoeckler, webchick: Don't show 80 bazillion test modules...

Issue #2342435 by tstoeckler, webchick: Don't show 80 bazillion test modules on the modules page when in development mode.
parent 60dd5c17
......@@ -210,6 +210,12 @@ public function buildForm(array $form, FormStateInterface $form_state) {
);
}
// If testing modules are shown, collapse the corresponding package by
// default.
if (isset($form['modules']['Testing'])) {
$form['modules']['Testing']['#open'] = FALSE;
}
// Lastly, sort all packages by title.
uasort($form['modules'], array('\Drupal\Component\Utility\SortArray', 'sortByTitleProperty'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment