mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
add menu into section
This commit is contained in:
parent
25c986cc61
commit
06c74ed5ed
@ -69,6 +69,14 @@ class SectionMenuBuilder implements LocalMenuBuilderInterface
|
|||||||
'order' => 0
|
'order' => 0
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
$menu->addChild($this->translator->trans('Global timeline'), [
|
||||||
|
'route' => 'chill_center_timeline',
|
||||||
|
])
|
||||||
|
->setExtras([
|
||||||
|
'order' => 10
|
||||||
|
]
|
||||||
|
);
|
||||||
|
|
||||||
if ($this->authorizationChecker->isGranted(ChillExportVoter::EXPORT)) {
|
if ($this->authorizationChecker->isGranted(ChillExportVoter::EXPORT)) {
|
||||||
$menu->addChild($this->translator->trans('Export Menu'), [
|
$menu->addChild($this->translator->trans('Export Menu'), [
|
||||||
'route' => 'chill_main_export_index'
|
'route' => 'chill_main_export_index'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user