bundles/BlockManagerBundle/Templating/Twig/GlobalVariable.php
public function getLayoutTemplate(string $context = ViewInterface::CONTEXT_DEFAULT): ?string
    {
        $layoutView = $this->buildLayoutView($context);
        if (!$layoutView instanceof LayoutViewInterface) {
            return $this->getPageLayoutTemplate();
        }

        return $layoutView->getTemplate();
    }
public function getLayoutTemplate(string $context = ViewInterface::CONTEXT_DEFAULT): ?string
    {
        $layoutView = $this->buildLayoutView($context);
        if (!$layoutView instanceof LayoutViewInterface) {
            return $this->getPageLayoutTemplate();
        }

        return $layoutView->getTemplate();
    }
public function getLayoutTemplate ( string $ context = ViewInterface :: CONTEXT_DEFAULT ) : ? string { $ layoutView = $ this -> buildLayoutView ( $ context ) ; if ( ! $ layoutView instanceof LayoutViewInterface ) { return $ this -> getPageLayoutTemplate ( ) ; } return $ layoutView -> getTemplate ( ) ; }
Returns the currently valid layout template, or base pagelayout if
no layout was resolved.
Returns the currently valid layout template or base pagelayout if no layout was resolved .