public function PluginDiscoveryDecorator::__construct in Plugin 8.2
Constructs a new instance.
Parameters
\Drupal\Component\Plugin\Discovery\DiscoveryInterface $decorated_discovery: The decorated discovery.
1 call to PluginDiscoveryDecorator::__construct()
- TypedDefinitionEnsuringPluginDiscoveryDecorator::__construct in src/
PluginDiscovery/ TypedDefinitionEnsuringPluginDiscoveryDecorator.php - Constructs a new instance.
2 methods override PluginDiscoveryDecorator::__construct()
- PluginManagerDecorator::__construct in src/
PluginManager/ PluginManagerDecorator.php - Creates a new instance.
- TypedDefinitionEnsuringPluginDiscoveryDecorator::__construct in src/
PluginDiscovery/ TypedDefinitionEnsuringPluginDiscoveryDecorator.php - Constructs a new instance.
File
- src/
PluginDiscovery/ PluginDiscoveryDecorator.php, line 49
Class
- PluginDiscoveryDecorator
- Decorates plugin discovery.
Namespace
Drupal\plugin\PluginDiscoveryCode
public function __construct(DiscoveryInterface $decorated_discovery) {
$this->decoratedDiscovery = $decorated_discovery;
}