Implements Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinitions().
Overrides DiscoveryInterface::getDefinitions
File
- drupal/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php, line 54
- Definition of Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator.
Class
- DerivativeDiscoveryDecorator
- Base class providing the tools for a plugin discovery to be derivative aware.
Namespace
Drupal\Component\Plugin\Discovery
Code
public function getDefinitions() {
$plugin_definitions = $this->decorated
->getDefinitions();
return $this
->getDerivatives($plugin_definitions);
}