Pimcore\Model\Document\Tag\Href::getFullPath PHP Method

getFullPath() public method

Returns teh path of the linked element
public getFullPath ( ) : mixed
return mixed
    public function getFullPath()
    {
        $this->setElement();
        //don't give unpublished elements in frontend
        if (Document::doHideUnpublished() and !Element\Service::isPublished($this->element)) {
            return false;
        }
        if ($this->element instanceof Element\ElementInterface) {
            return $this->element->getFullPath();
        }
        return;
    }