CachedDiscoveryClearer::$legacyCachedDiscoveries

The legacy stored discoveries.

Type: \Drupal\Component\Plugin\Discovery\CachedDiscoveryInterface[]

Deprecated

in drupal:11.1.0 and is removed from drupal:12.0.0. Pass the full set of services to the constructor instead.

See also

https://www.drupal.org/node/3442229

File

core/lib/Drupal/Core/Plugin/CachedDiscoveryClearer.php, line 22

Class

CachedDiscoveryClearer
Defines a class which is capable of clearing the cache on plugin managers.

Namespace

Drupal\Core\Plugin

Code

protected $legacyCachedDiscoveries = [];

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