Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Config/ConfigFactory.php \Drupal\Core\Config\ConfigFactory::getCacheKeys()
  2. 9 core/lib/Drupal/Core/Config/ConfigFactory.php \Drupal\Core\Config\ConfigFactory::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 271

Class

ConfigFactory
Defines the configuration object factory.

Namespace

Drupal\Core\Config

Code

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;
}