foreach ($this->configFactoryOverrides
as $override) { $this->cache
[$cache_key]->
addCacheableDependency($override->
getCacheableMetadata($name));
} } /**
* {@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 =
[];
} // Clear the static list cache if supported by the storage.
if ($this->storage instanceof StorageCacheInterface
) { $this->storage->
resetListCache();
}