Skip to content

Commit

Permalink
moved menus definitions to DI
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Dec 21, 2016
1 parent dbb615d commit f2d161d
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/config/hisite.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,6 @@

return [
'components' => [
'menuManager' => [
'items' => [
'sidebar' => [
'add' => [
'dashboard' => [
'menu' => \hipanel\modules\dashboard\menus\SidebarMenu::class,
'where' => 'first',
],
],
],
],
],
'i18n' => [
'translations' => [
'hipanel:dashboard' => [
Expand All @@ -28,4 +16,16 @@
'class' => \hipanel\modules\dashboard\Module::class,
],
],
'container' => [
'definitions' => [
\hiqdev\thememanager\menus\AbstractSidebarMenu::class => [
'add' => [
'dashboard' => [
'menu' => \hipanel\modules\dashboard\menus\SidebarMenu::class,
'where' => 'first',
],
],
],
],
],
];

0 comments on commit f2d161d

Please sign in to comment.