public function delete()
{
DefinitionCache::clear($this);
\Pimcore::getEventManager()->trigger("object.classificationstore.keyConfig.preDelete", $this);
if ($this->getId()) {
unset(self::$cache[$this->getId()]);
}
parent::delete();
\Pimcore::getEventManager()->trigger("object.classificationstore.keyConfig.postDelete", $this);
}