You are here

public function ConfigFactory::clearStaticCache in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/ConfigFactory.php \Drupal\Core\Config\ConfigFactory::clearStaticCache()
  2. 9 core/lib/Drupal/Core/Config/ConfigFactory.php \Drupal\Core\Config\ConfigFactory::clearStaticCache()

File

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

Class

ConfigFactory
Defines the configuration object factory.

Namespace

Drupal\Core\Config

Code

public function clearStaticCache() {
  $this->cache = [];
  return $this;
}