You are here

public function ConfigFactory::getCacheKeys in Drupal 10

Same name and namespace in other branches
  1. 8 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()

File

core/lib/Drupal/Core/Config/ConfigFactory.php, line 270

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