public function PdbBlockDeriver::__construct in Decoupled Blocks 8
PdbBlockDeriver constructor.
Parameters
\Drupal\pdb\ComponentDiscoveryInterface $component_discovery: The component discovery service.
File
- src/
Plugin/ Derivative/ PdbBlockDeriver.php, line 30
Class
- PdbBlockDeriver
- Provides a deriver for pdb blocks.
Namespace
Drupal\pdb\Plugin\DerivativeCode
public function __construct(ComponentDiscoveryInterface $component_discovery) {
$this->componentDiscovery = $component_discovery;
}