Contao\CoreBundle\DataCollector\ContaoDataCollector::getLayoutName PHP 메소드

getLayoutName() 개인적인 메소드

Returns the page layout name (front end only).
private getLayoutName ( ) : string
리턴 string
    private function getLayoutName()
    {
        $layout = $this->getLayout();
        if (null === $layout) {
            return '';
        }
        return sprintf('%s (ID %s)', $layout->name, $layout->id);
    }