function ConfigFactory::getCacheKeys
Same name in other branches
- 9 core/lib/Drupal/Core/Config/ConfigFactory.php \Drupal\Core\Config\ConfigFactory::getCacheKeys()
- 10 core/lib/Drupal/Core/Config/ConfigFactory.php \Drupal\Core\Config\ConfigFactory::getCacheKeys()
- 11.x core/lib/Drupal/Core/Config/ConfigFactory.php \Drupal\Core\Config\ConfigFactory::getCacheKeys()
Overrides ConfigFactoryInterface::getCacheKeys
1 call to ConfigFactory::getCacheKeys()
- ConfigFactory::getConfigCacheKey in core/
lib/ Drupal/ Core/ Config/ ConfigFactory.php - Gets the static cache key for a given config name.
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.