/** * Discards all unsaved changes and clears all related caches. */ public function clear() { $this->clearCache(); $this->clearConfigurableCache(); $this->modelManager->clearCache(); $this->getEntityManager()->clear(); }
/** * Clears entity config model cache. */ public function clearModelCache() { $this->modelManager->clearCache(); $this->cache->deleteAllConfigurable(true); $this->cache->deleteAllConfigs(true); }
/** * Clears entity config model cache. */ public function clearModelCache() { $this->modelManager->clearCache(); }