src/PageBuilder/Service/LayoutService.php
public function getPageThemeLayout($pageThemeId)
    {
        /** @var $themeModel \PageBuilder\Model\PageTemplateModel */
        $themeModel = $this->getServiceLocator()->get('pagebuilder\model\pageTheme');

        $pageTheme = $themeModel->findObject($pageThemeId);

        return $this->getPageLayout($pageTheme->getPageId()->getId(), $pageTheme->getThemeId()->getId());
    }
public function getPageThemeLayout($pageThemeId)
    {
        /** @var $themeModel \PageBuilder\Model\PageTemplateModel */
        $themeModel = $this->getServiceLocator()->get('pagebuilder\model\pageTheme');

        $pageTheme = $themeModel->findObject($pageThemeId);

        return $this->getPageLayout($pageTheme->getPageId()->getId(), $pageTheme->getThemeId()->getId());
    }
public function getPageThemeLayout ( $ pageThemeId ) { /** @var $themeModel \PageBuilder\Model\PageTemplateModel */ $ themeModel = $ this -> getServiceLocator ( ) -> get ( 'pagebuilder\model\pageTheme' ) ; $ pageTheme = $ themeModel -> findObject ( $ pageThemeId ) ; return $ this -> getPageLayout ( $ pageTheme -> getPageId ( ) -> getId ( ) , $ pageTheme -> getThemeId ( ) -> getId ( ) ) ; }
Get Page theme layout

@param $pageThemeId

@return array
Get Page theme layout