Contao\PageRoot::getRedirectUrl PHP Method

getRedirectUrl() protected method

Prepare the page object and redirect URL
protected getRedirectUrl ( integer $rootPageId ) : string
$rootPageId integer
return string
    protected function getRedirectUrl($rootPageId)
    {
        return $this->getNextPage($rootPageId)->getFrontendUrl();
    }