function CachedDiscoveryClearer::__construct
Same name in this branch
- 11.x core/lib/Drupal/Core/ProxyClass/Plugin/CachedDiscoveryClearer.php \Drupal\Core\ProxyClass\Plugin\CachedDiscoveryClearer::__construct()
Same name in other branches
- 9 core/lib/Drupal/Core/ProxyClass/Plugin/CachedDiscoveryClearer.php \Drupal\Core\ProxyClass\Plugin\CachedDiscoveryClearer::__construct()
- 8.9.x core/lib/Drupal/Core/ProxyClass/Plugin/CachedDiscoveryClearer.php \Drupal\Core\ProxyClass\Plugin\CachedDiscoveryClearer::__construct()
- 10 core/lib/Drupal/Core/ProxyClass/Plugin/CachedDiscoveryClearer.php \Drupal\Core\ProxyClass\Plugin\CachedDiscoveryClearer::__construct()
Constructs the CachedDiscoveryClearer service.
Parameters
\Traversable $cachedDiscoveries: The cached discoveries.
File
-
core/
lib/ Drupal/ Core/ Plugin/ CachedDiscoveryClearer.php, line 46
Class
- CachedDiscoveryClearer
- Defines a class which is capable of clearing the cache on plugin managers.
Namespace
Drupal\Core\PluginCode
public function __construct(\Traversable $cachedDiscoveries) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.