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

getDataEditmode() public method

Converts the data so it's suitable for the editmode
public getDataEditmode ( ) : mixed
return mixed
    public function getDataEditmode()
    {
        $this->setElement();
        if ($this->element instanceof Element\ElementInterface) {
            return ["id" => $this->id, "path" => $this->element->getRealFullPath(), "elementType" => $this->type, "subtype" => $this->subtype];
        }
        return null;
    }