public function ConfigFactory::clearStaticCache in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Config/ConfigFactory.php \Drupal\Core\Config\ConfigFactory::clearStaticCache()
- 10 core/lib/Drupal/Core/Config/ConfigFactory.php \Drupal\Core\Config\ConfigFactory::clearStaticCache()
Clears the config factory static cache.
Return value
$this
Overrides ConfigFactoryInterface::clearStaticCache
File
- core/
lib/ Drupal/ Core/ Config/ ConfigFactory.php, line 319
Class
- ConfigFactory
- Defines the configuration object factory.
Namespace
Drupal\Core\ConfigCode
public function clearStaticCache() {
$this->cache = [];
return $this;
}