function CachedDiscoveryClearerInterface::clearCachedDefinitions

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Plugin/CachedDiscoveryClearerInterface.php \Drupal\Core\Plugin\CachedDiscoveryClearerInterface::clearCachedDefinitions()
  2. 10 core/lib/Drupal/Core/Plugin/CachedDiscoveryClearerInterface.php \Drupal\Core\Plugin\CachedDiscoveryClearerInterface::clearCachedDefinitions()
  3. 11.x 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 24

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.