public function actionTypePageContainer($navItemId)
    {
        $navItem = NavItem::findOne($navItemId);
        $type = $navItem->getType();
        $layout = Layout::findOne($type->layout_id);
        if (!empty($layout)) {
            $layout->json_config = json_decode($layout->json_config, true);
        }

        return [
            //'nav_item' => $navItem,
            'layout' => $layout,
            'type_container' => $type,
        ];
    }
public function actionTypePageContainer($navItemId)
    {
        $navItem = NavItem::findOne($navItemId);
        $type = $navItem->getType();
        $layout = Layout::findOne($type->layout_id);
        if (!empty($layout)) {
            $layout->json_config = json_decode($layout->json_config, true);
        }

        return [
            //'nav_item' => $navItem,
            'layout' => $layout,
            'type_container' => $type,
        ];
    }
public function actionTypePageContainer ( $ navItemId ) { $ navItem = NavItem :: findOne ( $ navItemId ) ; $ type = $ navItem -> getType ( ) ; $ layout = Layout :: findOne ( $ type -> layout_id ) ; if ( ! empty ( $ layout ) ) { $ layout -> json_config = json_decode ( $ layout -> json_config , true ) ; } return [ //'nav_item' => $navItem, 'layout' => $ layout , 'type_container' => $ type , ] ; }
returns all the PAGE type specific informations.

@return array
returns all the PAGE type specific informations .