function CachedDiscoveryClearerInterface::clearCachedDefinitions

Same name in other branches
  1. 9 core/lib/Drupal/Core/Plugin/CachedDiscoveryClearerInterface.php \Drupal\Core\Plugin\CachedDiscoveryClearerInterface::clearCachedDefinitions()
  2. 8.9.x core/lib/Drupal/Core/Plugin/CachedDiscoveryClearerInterface.php \Drupal\Core\Plugin\CachedDiscoveryClearerInterface::clearCachedDefinitions()
  3. 10 core/lib/Drupal/Core/Plugin/CachedDiscoveryClearerInterface.php \Drupal\Core\Plugin\CachedDiscoveryClearerInterface::clearCachedDefinitions()

Clears the cache on all cached discoveries.

2 methods override CachedDiscoveryClearerInterface::clearCachedDefinitions()
CachedDiscoveryClearer::clearCachedDefinitions in core/lib/Drupal/Core/ProxyClass/Plugin/CachedDiscoveryClearer.php
Clears the cache on all cached discoveries.
CachedDiscoveryClearer::clearCachedDefinitions in core/lib/Drupal/Core/Plugin/CachedDiscoveryClearer.php
Clears the cache on all cached discoveries.

File

core/lib/Drupal/Core/Plugin/CachedDiscoveryClearerInterface.php, line 13

Class

CachedDiscoveryClearerInterface
Provides a way to clear static caches of all plugin managers.

Namespace

Drupal\Core\Plugin

Code

public function clearCachedDefinitions();

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