You are here

public function LayoutParagraphsTempstoreParamConverter::__construct in Layout Paragraphs 2.0.x

Constructs a new LayoutParagraphsEditorTempstoreParamConverter.

Parameters

\Drupal\layout_paragraphs\LayoutParagraphsLayoutTempstoreRepository $layout_paragraphs_layout_tempstore: The layout tempstore repository.

File

src/Routing/LayoutParagraphsTempstoreParamConverter.php, line 39

Class

LayoutParagraphsTempstoreParamConverter
Layout paragraphs tempstore param converter service.

Namespace

Drupal\layout_paragraphs\Routing

Code

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