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

getDataEditmode() public method

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