protected function initNavigation()
    {
        Yii::$app->params['nav']['wavecms_dashboard'] = [
            'label' => FontAwesome::icon('home') . Yii::t('wavecms/main', 'Dashboard'),
            'url' => ['/'],
            'position' => 500
        ];

        Yii::$app->params['nav']['wavecms_user'] = [
            'label' => FontAwesome::icon('users') . Yii::t('wavecms/user', 'Users'),
            'url' => 'javascript: ;',
            'options' => [
                'class' => 'drop-down'
            ],
            'permission' => 'wavecms-user',
            'position' => 9000,
            'items' => [
                [
                    'label' => FontAwesome::icon('user') . Yii::t('wavecms/user', 'List of users'),
                    'url' => ['/wavecms/user/index']
                ],
                [
                    'label' => FontAwesome::icon('key') . Yii::t('wavecms/user', 'Roles'),
                    'url' => ['/wavecms/role/index']
                ],
            ]
        ];

        Yii::$app->params['nav']['wavecms_settings'] = [
            'label' => FontAwesome::icon('cog') . Yii::t('wavecms/main', 'Settings'),
            'url' => 'javascript: ;',
            'options' => [
                'class' => 'drop-down'
            ],
            'permission' => 'wavecms-settings',
            'position' => 10000,
            'items' => [
                [
                    'label' => FontAwesome::icon('flag') . Yii::t('wavecms/main', 'Translations'),
                    'url' => ['/wavecms/translation/index']
                ],
                [
                    'label' => FontAwesome::icon('database') . Yii::t('wavecms/main', 'Cache'),
                    'url' => ['/wavecms/settings/cache']
                ]
            ]
        ];
    }
protected function initNavigation()
    {
        Yii::$app->params['nav']['wavecms_dashboard'] = [
            'label' => FontAwesome::icon('home') . Yii::t('wavecms/main', 'Dashboard'),
            'url' => ['/'],
            'position' => 500
        ];

        Yii::$app->params['nav']['wavecms_user'] = [
            'label' => FontAwesome::icon('users') . Yii::t('wavecms/user', 'Users'),
            'url' => 'javascript: ;',
            'options' => [
                'class' => 'drop-down'
            ],
            'permission' => 'wavecms-user',
            'position' => 9000,
            'items' => [
                [
                    'label' => FontAwesome::icon('user') . Yii::t('wavecms/user', 'List of users'),
                    'url' => ['/wavecms/user/index']
                ],
                [
                    'label' => FontAwesome::icon('key') . Yii::t('wavecms/user', 'Roles'),
                    'url' => ['/wavecms/role/index']
                ],
            ]
        ];

        Yii::$app->params['nav']['wavecms_settings'] = [
            'label' => FontAwesome::icon('cog') . Yii::t('wavecms/main', 'Settings'),
            'url' => 'javascript: ;',
            'options' => [
                'class' => 'drop-down'
            ],
            'permission' => 'wavecms-settings',
            'position' => 10000,
            'items' => [
                [
                    'label' => FontAwesome::icon('flag') . Yii::t('wavecms/main', 'Translations'),
                    'url' => ['/wavecms/translation/index']
                ],
                [
                    'label' => FontAwesome::icon('database') . Yii::t('wavecms/main', 'Cache'),
                    'url' => ['/wavecms/settings/cache']
                ]
            ]
        ];
    }
protected function initNavigation ( ) { Yii :: $ app -> params [ 'nav' ] [ 'wavecms_dashboard' ] = [ 'label' => FontAwesome :: icon ( 'home' ) . Yii :: t ( 'wavecms/main' , 'Dashboard' ) , 'url' => [ '/' ] , 'position' => 500 ] ; Yii :: $ app -> params [ 'nav' ] [ 'wavecms_user' ] = [ 'label' => FontAwesome :: icon ( 'users' ) . Yii :: t ( 'wavecms/user' , 'Users' ) , 'url' => 'javascript: ;' , 'options' => [ 'class' => 'drop-down' ] , 'permission' => 'wavecms-user' , 'position' => 9000 , 'items' => [ [ 'label' => FontAwesome :: icon ( 'user' ) . Yii :: t ( 'wavecms/user' , 'List of users' ) , 'url' => [ '/wavecms/user/index' ] ] , [ 'label' => FontAwesome :: icon ( 'key' ) . Yii :: t ( 'wavecms/user' , 'Roles' ) , 'url' => [ '/wavecms/role/index' ] ] , ] ] ; Yii :: $ app -> params [ 'nav' ] [ 'wavecms_settings' ] = [ 'label' => FontAwesome :: icon ( 'cog' ) . Yii :: t ( 'wavecms/main' , 'Settings' ) , 'url' => 'javascript: ;' , 'options' => [ 'class' => 'drop-down' ] , 'permission' => 'wavecms-settings' , 'position' => 10000 , 'items' => [ [ 'label' => FontAwesome :: icon ( 'flag' ) . Yii :: t ( 'wavecms/main' , 'Translations' ) , 'url' => [ '/wavecms/translation/index' ] ] , [ 'label' => FontAwesome :: icon ( 'database' ) . Yii :: t ( 'wavecms/main' , 'Cache' ) , 'url' => [ '/wavecms/settings/cache' ] ] ] ] ; }
Init left navigation
Init left navigation