Pimcore\Model\Document\Tag\Href::getDataEditmode PHP Метод

getDataEditmode() публичный Метод

Converts the data so it's suitable for the editmode
public getDataEditmode ( ) : mixed
Результат 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;
    }