Enables static and persistent caching of discovered plugin definitions.
Expanded class hierarchy of CacheDecorator
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CacheDecorator:: |
protected | property | The cache bin used to store the definition list. | |
CacheDecorator:: |
protected | property | The cache key used to store the definition list. | |
CacheDecorator:: |
protected | property | The Discovery object being decorated. | |
CacheDecorator:: |
protected | property | The plugin definitions of the decorated discovery class. | |
CacheDecorator:: |
public | function |
Implements \Drupal\Component\Plugin\Discovery\CachedDiscoveryInterface::clearCachedDefinitions(). Overrides CachedDiscoveryInterface:: |
|
CacheDecorator:: |
protected | function | Returns the cached plugin definitions of the decorated discovery class. | |
CacheDecorator:: |
public | function |
Implements Drupal\Component\Plugin\Discovery\DicoveryInterface::getDefinition(). Overrides DiscoveryInterface:: |
|
CacheDecorator:: |
public | function |
Implements Drupal\Component\Plugin\Discovery\DicoveryInterface::getDefinitions(). Overrides DiscoveryInterface:: |
|
CacheDecorator:: |
protected | function | Sets a cache of plugin definitions for the decorated discovery class. | |
CacheDecorator:: |
public | function | Passes through all unknown calls onto the decorated object. | |
CacheDecorator:: |
public | function | Constructs a Drupal\Core\Plugin\Discovery\CacheDecorator object. |