public function BlockGroups::__construct in Block Group 8
Constructs a BlockContent object.
Parameters
\Drupal\Core\Entity\EntityStorageInterface $block_groups_storage: The custom block storage.
File
- src/
Plugin/ Derivative/ BlockGroups.php, line 30
Class
- BlockGroups
- Provides block plugin definitions for blockgroup blocks.
Namespace
Drupal\blockgroup\Plugin\DerivativeCode
public function __construct(EntityStorageInterface $block_groups_storage) {
$this->blockGroupStorage = $block_groups_storage;
}