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

setDataFromEditmode() public method

See also: Document\Tag\TagInterface::setDataFromEditmode
public setDataFromEditmode ( mixed $data ) : void
$data mixed
return void
    public function setDataFromEditmode($data)
    {
        $this->id = $data["id"];
        $this->type = $data["type"];
        $this->subtype = $data["subtype"];
        $this->setElement();
        return $this;
    }