You are here

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

Class constructor.

Parameters

Drupal\Core\Layout\LayoutPluginManagerInterface $layout_plugin_manager: The layout plugin manager service.

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

File

src/LayoutParagraphsRendererService.php, line 43

Class

LayoutParagraphsRendererService
Class definition for a layout paragraphs service.

Namespace

Drupal\layout_paragraphs

Code

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