public function generateCoreSelectorMenuUsingPageTree(string $uriToRedirectTo = null)
    {
        if ($this->selectedPageUID < 1 || null === $this->selectedSite) {
            return;
        }

        if ($this->view instanceof NotFoundView) {
            $this->initializeSelectedSolrCoreConnection();
            return;
        }

        $this->generateCoreSelectorMenu($this->selectedSite, $uriToRedirectTo);
    }
public function generateCoreSelectorMenuUsingPageTree(string $uriToRedirectTo = null)
    {
        if ($this->selectedPageUID < 1 || null === $this->selectedSite) {
            return;
        }

        if ($this->view instanceof NotFoundView) {
            $this->initializeSelectedSolrCoreConnection();
            return;
        }

        $this->generateCoreSelectorMenu($this->selectedSite, $uriToRedirectTo);
    }
public function generateCoreSelectorMenuUsingPageTree ( string $ uriToRedirectTo = null ) { if ( $ this -> selectedPageUID < 1 || null === $ this -> selectedSite ) { return ; } if ( $ this -> view instanceof NotFoundView ) { $ this -> initializeSelectedSolrCoreConnection ( ) ; return ; } $ this -> generateCoreSelectorMenu ( $ this -> selectedSite , $ uriToRedirectTo ) ; }
Generates selector menu in backends doc header using selected page from page tree.

@param string|null $uriToRedirectTo
Generates selector menu in backends doc header using selected page from page tree .