diff --git a/core/modules/help/src/Controller/HelpController.php b/core/modules/help/src/Controller/HelpController.php index a753ac8..d106850 100644 --- a/core/modules/help/src/Controller/HelpController.php +++ b/core/modules/help/src/Controller/HelpController.php @@ -84,7 +84,7 @@ protected function helpLinksAsList() { $break = ceil($count / 4); $column = array( '#type' => 'container', - 'links' => array('#theme' => 'links'), + 'links' => array('#theme' => 'item_list'), '#attributes' => array('class' => array('layout-column', 'quarter')), ); $output = array( @@ -96,10 +96,7 @@ protected function helpLinksAsList() { $i = 0; $current_column = 0; foreach ($modules as $module => $name) { - $output[$current_column]['links']['#links'][] = array( - 'title' => $name, - 'url' => new Url('help.page', array('name' => $module)), - ); + $output[$current_column]['links']['#items'][] = $this->l($name, new Url('help.page', array('name' => $module))); if (($i + 1) % $break == 0 && ($i + 1) != $count) { $current_column++; $output[$current_column] = $column;