Beispiel #1
0
 /**
  * {@inheritdoc}
  */
 public function reset($name = NULL)
 {
     if ($name) {
         // Clear all cached configuration for this name.
         foreach ($this->getConfigCacheKeys($name) as $cache_key) {
             unset($this->cache[$cache_key]);
         }
     } else {
         $this->cache = array();
     }
     // Clear the static list cache if supported by the storage.
     if ($this->storage instanceof StorageCacheInterface) {
         $this->storage->resetListCache();
     }
     return $this;
 }