Pimcore\Model\Object\KeyValue\KeyConfig::delete PHP Method

delete() public method

Deletes the key value key configuration
public delete ( )
    public function delete()
    {
        \Pimcore::getEventManager()->trigger("object.keyValue.keyConfig.preDelete", $this);
        if ($this->getId()) {
            unset(self::$cache[$this->getId()]);
        }
        parent::delete();
        \Pimcore::getEventManager()->trigger("object.keyValue.keyConfig.postDelete", $this);
    }