You are here

public function InlineBlockDeriver::__construct in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/layout_builder/src/Plugin/Derivative/InlineBlockDeriver.php \Drupal\layout_builder\Plugin\Derivative\InlineBlockDeriver::__construct()
  2. 9 core/modules/layout_builder/src/Plugin/Derivative/InlineBlockDeriver.php \Drupal\layout_builder\Plugin\Derivative\InlineBlockDeriver::__construct()

Constructs a BlockContentDeriver object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

File

core/modules/layout_builder/src/Plugin/Derivative/InlineBlockDeriver.php, line 31

Class

InlineBlockDeriver
Provides inline block plugin definitions for all custom block types.

Namespace

Drupal\layout_builder\Plugin\Derivative

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {
  $this->entityTypeManager = $entity_type_manager;
}