function CachedStorage::resetListCache

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/CachedStorage.php \Drupal\Core\Config\CachedStorage::resetListCache()
  2. 8.9.x core/lib/Drupal/Core/Config/CachedStorage.php \Drupal\Core\Config\CachedStorage::resetListCache()
  3. 11.x core/lib/Drupal/Core/Config/CachedStorage.php \Drupal\Core\Config\CachedStorage::resetListCache()

Clears the static list cache.

File

core/lib/Drupal/Core/Config/CachedStorage.php, line 229

Class

CachedStorage
Defines the cached storage.

Namespace

Drupal\Core\Config

Code

public function resetListCache() {
    $this->findByPrefixCache = [];
}

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