}
}
+ // Potentially configuration schema could have changed the underlying data's
+ // types.
+ $this->resetOverriddenData();
+
$this->storage->write($this->name, $this->data);
if (!$this->isNew) {
Cache::invalidateTags($this->getCacheTags());
$this->isNew = FALSE;
$this->eventDispatcher->dispatch(ConfigEvents::SAVE, new ConfigCrudEvent($this));
$this->originalData = $this->data;
- // Potentially configuration schema could have changed the underlying data's
- // types.
- $this->resetOverriddenData();
return $this;
}