function CacheCollectorInterface::reset

Same name in other branches
  1. 9 core/lib/Drupal/Core/Cache/CacheCollectorInterface.php \Drupal\Core\Cache\CacheCollectorInterface::reset()
  2. 8.9.x core/lib/Drupal/Core/Cache/CacheCollectorInterface.php \Drupal\Core\Cache\CacheCollectorInterface::reset()
  3. 11.x core/lib/Drupal/Core/Cache/CacheCollectorInterface.php \Drupal\Core\Cache\CacheCollectorInterface::reset()

Resets the local cache.

Does not clear the persistent cache.

2 methods override CacheCollectorInterface::reset()
CacheCollector::reset in core/lib/Drupal/Core/Cache/CacheCollector.php
Resets the local cache.
MenuActiveTrail::reset in core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php
Resets the local cache.

File

core/lib/Drupal/Core/Cache/CacheCollectorInterface.php, line 69

Class

CacheCollectorInterface
Provides a caching wrapper to be used in place of large structures.

Namespace

Drupal\Core\Cache

Code

public function reset();

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