public function Config::merge

File

drupal/core/lib/Drupal/Core/Config/Config.php, line 414
Definition of Drupal\Core\Config\Config.

Class

Config
Defines the default configuration object.

Namespace

Drupal\Core\Config

Code

public function merge(array $data_to_merge) {

  // Preserve integer keys so that config keys are not changed.
  $this->data = NestedArray::mergeDeepArray(array(
    $this->data,
    $data_to_merge,
  ), TRUE);
  return $this;
}