Override required configuration values.
Hierarchy
- class \Drupal\advagg_bundler\ConfigOverrider implements \Drupal\Core\Config\ConfigFactoryOverrideInterface
Expanded class hierarchy of ConfigOverrider
2 string references to 'ConfigOverrider'
- advagg_bundler.services.yml in advagg_bundler/
advagg_bundler.services.yml - advagg_bundler/advagg_bundler.services.yml
- ConfigOverrider::getCacheSuffix in advagg_bundler/
src/ ConfigOverrider.php
1 service uses ConfigOverrider
File
-
advagg_bundler/
src/ ConfigOverrider.php, line 12
Namespace
Drupal\advagg_bundlerView source
class ConfigOverrider implements ConfigFactoryOverrideInterface {
/**
* {@inheritdoc}
*/
public function loadOverrides($names) {
$overrides = [];
if (in_array('advagg.settings', $names)) {
$overrides['advagg.settings'] = [
'core_groups' => FALSE,
];
}
return $overrides;
}
/**
* {@inheritdoc}
*/
public function getCacheSuffix() {
return 'ConfigOverrider';
}
/**
* {@inheritdoc}
*/
public function createConfigObject($name, $collection = StorageInterface::DEFAULT_COLLECTION) {
return NULL;
}
/**
* {@inheritdoc}
*/
public function getCacheableMetadata($name) {
return new CacheableMetadata();
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
ConfigOverrider::createConfigObject | public | function | |
ConfigOverrider::getCacheableMetadata | public | function | |
ConfigOverrider::getCacheSuffix | public | function | |
ConfigOverrider::loadOverrides | public | function |