location admin: menu for location admin

This commit is contained in:
nobohan
2021-10-22 12:30:52 +02:00
parent ece7ec032d
commit 8c96aae988
2 changed files with 21 additions and 0 deletions

View File

@@ -54,6 +54,24 @@ class AdminSectionMenuBuilder implements LocalMenuBuilderInterface
'order' => 200,
'explain' => "Configure permissions for users"
]);
$menu->addChild('Location', [
'route' => 'chill_crud_main_location_index'
])
->setExtras([
'icons' => ['key'],
'order' => 205,
'explain' => "Configure location"
]);
$menu->addChild('Location type', [
'route' => 'chill_crud_main_location_type_index'
])
->setExtras([
'icons' => ['key'],
'order' => 205,
'explain' => "Configure location type"
]);
}
public static function getMenuIds(): array