class DerivativeDiscoveryDecorator

Base class providing the tools for a plugin discovery to be derivative aware.

Provides a decorator that allows the use of plugin derivatives for normal implementations DiscoveryInterface.

Hierarchy

Expanded class hierarchy of DerivativeDiscoveryDecorator

5 files declare their use of DerivativeDiscoveryDecorator

File

drupal/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php, line 16
Definition of Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator.

Namespace

Drupal\Component\Plugin\Discovery
View source

Members

Namesort descending Modifiers Type Description Overrides
DerivativeDiscoveryDecorator::$decorated protected property
DerivativeDiscoveryDecorator::$derivativeFetchers protected property
DerivativeDiscoveryDecorator::decodePluginId protected function Decodes derivative id and plugin id from a string.
DerivativeDiscoveryDecorator::encodePluginId protected function Encodes plugin and derivative id's into a string.
DerivativeDiscoveryDecorator::getDefinition public function Implements Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinition(). Overrides DiscoveryInterface::getDefinition
DerivativeDiscoveryDecorator::getDefinitions public function Implements Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinitions(). Overrides DiscoveryInterface::getDefinitions
DerivativeDiscoveryDecorator::getDerivativeFetcher protected function Finds a Drupal\Component\Plugin\Discovery\DerivativeInterface.
DerivativeDiscoveryDecorator::getDerivatives protected function Adds derivatives to a list of plugin definitions.
DerivativeDiscoveryDecorator::__call public function Passes through all unknown calls onto the decorated object.
DerivativeDiscoveryDecorator::__construct public function Creates a Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator object.