mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 08:33:49 +00:00
add Admin menu
This commit is contained in:
@@ -32,6 +32,13 @@ class MenuComposer {
|
||||
if ($route->getOption('menu') === $menuId) {
|
||||
$a['route'] = $key;
|
||||
$a['label'] = $route->getOption('label');
|
||||
|
||||
if ($route->hasOption('helper')) {
|
||||
$a['helper'] = $route->getOption('helper');
|
||||
} else {
|
||||
$a['helper'] = '';
|
||||
}
|
||||
|
||||
$routes[$route->getOption('order')] = $a;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user