You are here

public function ConfigOverrider::loadOverrides in Advanced CSS/JS Aggregation 8.2

Returns config overrides.

Parameters

array $names: A list of configuration names that are being loaded.

Return value

array An array keyed by configuration name of override data. Override data contains a nested array structure of overrides.

Overrides ConfigFactoryOverrideInterface::loadOverrides

File

advagg_bundler/src/ConfigOverrider.php, line 17

Class

ConfigOverrider
Override required configuration values.

Namespace

Drupal\advagg_bundler

Code

public function loadOverrides($names) {
  $overrides = [];
  if (in_array('advagg.settings', $names)) {
    $overrides['advagg.settings'] = [
      'core_groups' => FALSE,
    ];
  }
  return $overrides;
}