You are here

public function BootstrapLayoutDeriver::__construct in Bootstrap Layout Builder 2.x

Same name and namespace in other branches
  1. 1.x src/Plugin/Deriver/BootstrapLayoutDeriver.php \Drupal\bootstrap_layout_builder\Plugin\Deriver\BootstrapLayoutDeriver::__construct()

Constructs a new BootstrapLayoutDeriver object.

Parameters

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

File

src/Plugin/Deriver/BootstrapLayoutDeriver.php, line 33

Class

BootstrapLayoutDeriver
Makes a bootstrap layout for each layout config entity.

Namespace

Drupal\bootstrap_layout_builder\Plugin\Deriver

Code

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