interface CachedDiscoveryInterface

Interface for discovery compenents holding a cache of plugin definitions.

Hierarchy

Expanded class hierarchy of CachedDiscoveryInterface

All classes that implement CachedDiscoveryInterface

2 files declare their use of CachedDiscoveryInterface
CacheDecorator.php in drupal/core/lib/Drupal/Core/Plugin/Discovery/CacheDecorator.php
Definition of Drupal\Core\Plugin\Discovery\CacheDecorator.
PluginManagerBase.php in drupal/core/lib/Drupal/Component/Plugin/PluginManagerBase.php
Definition of Drupal\Component\Plugin\PluginManagerBase

File

drupal/core/lib/Drupal/Component/Plugin/Discovery/CachedDiscoveryInterface.php, line 13
Contains \Drupal\Component\Plugin\Discovery\CachedDiscoveryInterface.

Namespace

Drupal\Component\Plugin\Discovery
View source
interface CachedDiscoveryInterface extends DiscoveryInterface {

  /**
   * Clears static and persistent plugin definition caches.
   */
  public function clearCachedDefinitions();

}

Members

Namesort descending Modifiers Type Description Overrides
CachedDiscoveryInterface::clearCachedDefinitions public function Clears static and persistent plugin definition caches. 2
DiscoveryInterface::getDefinition public function Gets a specific plugin definition. 10
DiscoveryInterface::getDefinitions public function Gets the definition of all plugins for this type. 10