function CacheCollectorInterface::clear

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

Clears the collected cache entry.

2 methods override CacheCollectorInterface::clear()
CacheCollector::clear in core/lib/Drupal/Core/Cache/CacheCollector.php
Clears the collected cache entry.
MenuActiveTrail::clear in core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php
Clears the collected cache entry.

File

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

Class

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

Namespace

Drupal\Core\Cache

Code

public function clear();

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