function ConfigFactory::clearStaticCache

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/ConfigFactory.php \Drupal\Core\Config\ConfigFactory::clearStaticCache()
  2. 10 core/lib/Drupal/Core/Config/ConfigFactory.php \Drupal\Core\Config\ConfigFactory::clearStaticCache()
  3. 11.x core/lib/Drupal/Core/Config/ConfigFactory.php \Drupal\Core\Config\ConfigFactory::clearStaticCache()

Overrides ConfigFactoryInterface::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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.