You are here

public function BlockContent::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/block_content/src/Plugin/Derivative/BlockContent.php \Drupal\block_content\Plugin\Derivative\BlockContent::__construct()

Constructs a BlockContent object.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $block_content_storage: The custom block storage.

File

core/modules/block_content/src/Plugin/Derivative/BlockContent.php, line 33
Contains \Drupal\block_content\Plugin\Derivative\BlockContent.

Class

BlockContent
Retrieves block plugin definitions for all custom blocks.

Namespace

Drupal\block_content\Plugin\Derivative

Code

public function __construct(EntityStorageInterface $block_content_storage) {
  $this->blockContentStorage = $block_content_storage;
}