public function ConfigFactory::getCacheKeys in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Config/ConfigFactory.php \Drupal\Core\Config\ConfigFactory::getCacheKeys()
- 9 core/lib/Drupal/Core/Config/ConfigFactory.php \Drupal\Core\Config\ConfigFactory::getCacheKeys()
File
- core/
lib/ Drupal/ Core/ Config/ ConfigFactory.php, line 270
Class
- ConfigFactory
- Defines the configuration object factory.
Namespace
Drupal\Core\ConfigCode
public function getCacheKeys() {
// Because get() adds overrides both from $GLOBALS and from
// $this->configFactoryOverrides, add cache keys for each.
$keys[] = 'global_overrides';
foreach ($this->configFactoryOverrides as $override) {
$keys[] = $override
->getCacheSuffix();
}
return $keys;
}