Replaces the data of this configuration object.
This function is separate from setData() to avoid load() state tracking. A load() would destroy the replaced data (for example on import). Do not call set() when inside load().
array $data: The new configuration data.
Drupal\Core\Config\Config The configuration object.
protected function replaceData(array $data) {
$this->data = $data;
$this
->resetOverriddenData();
return $this;
}