You are here

public function EditSimpleBlockInLayoutBuilderForm::__construct in Simple Block 8

Constructs a new block form.

Parameters

\Drupal\layout_builder\LayoutTempstoreRepositoryInterface $layout_tempstore_repository: The layout tempstore repository.

\Drupal\Component\Uuid\UuidInterface $uuid: The UUID generator.

File

modules/simple_block_layout_builder/src/Form/EditSimpleBlockInLayoutBuilderForm.php, line 78

Class

EditSimpleBlockInLayoutBuilderForm
Provides a form to add/edit a simple block in Layout Builder.

Namespace

Drupal\simple_block_layout_builder\Form

Code

public function __construct(LayoutTempstoreRepositoryInterface $layout_tempstore_repository, UuidInterface $uuid) {
  $this->layoutTempstoreRepository = $layout_tempstore_repository;
  $this->uuidGenerator = $uuid;
}