Implements Drupal\Core\Config\StorageInterface::write().
Overrides StorageInterface::write
public function write($name, array $data) {
if ($this->storage
->write($name, $data)) {
// While not all written data is read back, setting the cache instead of
// just deleting it avoids cache rebuild stampedes.
$this->cache
->set($name, $data, CacheBackendInterface::CACHE_PERMANENT);
return TRUE;
}
return FALSE;
}