mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-16 09:07:38 +00:00
Allow users to display news on homepage (+ configuring a dashboard homepage)
This commit is contained in:
@@ -60,6 +60,14 @@ class SectionMenuBuilder implements LocalMenuBuilderInterface
|
||||
'order' => 20,
|
||||
]);
|
||||
}
|
||||
|
||||
$menu->addChild($this->translator->trans('news.menu'), [
|
||||
'route' => 'chill_main_news_items_history',
|
||||
])
|
||||
->setExtras([
|
||||
'icons' => ['newspaper-o'],
|
||||
'order' => 5,
|
||||
]);
|
||||
}
|
||||
|
||||
public static function getMenuIds(): array
|
||||
|
||||
Reference in New Issue
Block a user