You are here

public function LibraryDiscoveryCollector::reset in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php \Drupal\Core\Asset\LibraryDiscoveryCollector::reset()
  2. 9 core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php \Drupal\Core\Asset\LibraryDiscoveryCollector::reset()

Resets the local cache.

Does not clear the persistent cache.

Overrides CacheCollector::reset

File

core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php, line 164

Class

LibraryDiscoveryCollector
A CacheCollector implementation for building library extension info.

Namespace

Drupal\Core\Asset

Code

public function reset() {
  parent::reset();
  $this->cid = NULL;
}