public function CachedDiscoveryClearerInterface::clearCachedDefinitions in Drupal 9
Same name and namespace in other branches
- 8 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/ Plugin/ CachedDiscoveryClearer.php - Clears the cache on all cached discoveries.
- CachedDiscoveryClearer::clearCachedDefinitions in core/
lib/ Drupal/ Core/ ProxyClass/ 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\PluginCode
public function clearCachedDefinitions();