concrete/src/Page/Page.php
public function getAutoGeneratedPagePathObject()
    {
        $path = new PagePath();
        $path->setPagePathIsAutoGenerated(true);
        //if (!$this->isHomePage()) {
            $path->setPagePath($this->computeCanonicalPagePath());
        //}

        return $path;
    }
public function getAutoGeneratedPagePathObject()
    {
        $path = new PagePath();
        $path->setPagePathIsAutoGenerated(true);
        //if (!$this->isHomePage()) {
            $path->setPagePath($this->computeCanonicalPagePath());
        //}

        return $path;
    }
public function getAutoGeneratedPagePathObject ( ) { $ path = new PagePath ( ) ; $ path -> setPagePathIsAutoGenerated ( true ) ; //if (!$this->isHomePage()) { $ path -> setPagePath ( $ this -> computeCanonicalPagePath ( ) ) ; //} return $ path ; }
Get a new PagePath object with the computed canonical page path.

@return \Concrete\Core\Entity\Page\PagePath
Get a new PagePath object with the computed canonical page path .