private function createBreadcrumbRoot()
    {
        if (null === $this->breadcrumb) {
            if (null === $home = $this->pageHelper->getHomePage()) {
                throw new \RuntimeException('Home page not found.');
            }
            $this->breadcrumb = $this->factory->createItem('root', [
                'childrenAttributes' => [
                    'class' => 'breadcrumb hidden-xs',
                ],
            ]);
            $this->tagManager->addTags($home->getEntityTag());
        }
    }
private function createBreadcrumbRoot()
    {
        if (null === $this->breadcrumb) {
            if (null === $home = $this->pageHelper->getHomePage()) {
                throw new \RuntimeException('Home page not found.');
            }
            $this->breadcrumb = $this->factory->createItem('root', [
                'childrenAttributes' => [
                    'class' => 'breadcrumb hidden-xs',
                ],
            ]);
            $this->tagManager->addTags($home->getEntityTag());
        }
    }
private function createBreadcrumbRoot ( ) { if ( null === $ this -> breadcrumb ) { if ( null === $ home = $ this -> pageHelper -> getHomePage ( ) ) { throw new \ RuntimeException ( 'Home page not found.' ) ; } $ this -> breadcrumb = $ this -> factory -> createItem ( 'root' , [ 'childrenAttributes' => [ 'class' => 'breadcrumb hidden-xs' , ] , ] ) ; $ this -> tagManager -> addTags ( $ home -> getEntityTag ( ) ) ; } }
Creates the breadcrumb root item.
Creates the breadcrumb root item .