class ConfigOverrider in Advanced CSS/JS Aggregation 8.2
Override required configuration values.
Hierarchy
- class \Drupal\advagg_bundler\ConfigOverrider implements 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 - The string to append to the configuration static cache name.
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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigOverrider:: |
public | function |
Creates a configuration object for use during install and synchronization. Overrides ConfigFactoryOverrideInterface:: |
|
ConfigOverrider:: |
public | function |
Gets the cacheability metadata associated with the config factory override. Overrides ConfigFactoryOverrideInterface:: |
|
ConfigOverrider:: |
public | function |
The string to append to the configuration static cache name. Overrides ConfigFactoryOverrideInterface:: |
|
ConfigOverrider:: |
public | function |
Returns config overrides. Overrides ConfigFactoryOverrideInterface:: |