You are here

public function BlockListingForm::__construct in Layout Builder Browser 8

Constructs an layout_builder_browserForm object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entityTypeManager.

\Drupal\Core\Block\BlockManagerInterface $blockManager: The blockManager.

File

src/Form/BlockListingForm.php, line 41

Class

BlockListingForm
Builds a listing of block entities.

Namespace

Drupal\layout_builder_browser\Form

Code

public function __construct(EntityTypeManagerInterface $entityTypeManager, BlockManagerInterface $blockManager) {
  $this->entityTypeManager = $entityTypeManager;
  $this->blockManager = $blockManager;
}