You are here

public function ConfigEntityCloneBase::__construct in Entity Clone 8

Constructs a new ConfigEntityCloneBase.

Parameters

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

string $entity_type_id: The entity type ID.

1 call to ConfigEntityCloneBase::__construct()
LayoutBuilderEntityClone::__construct in src/EntityClone/Config/LayoutBuilderEntityClone.php
LayoutBuilderEntityClone constructor.
1 method overrides ConfigEntityCloneBase::__construct()
LayoutBuilderEntityClone::__construct in src/EntityClone/Config/LayoutBuilderEntityClone.php
LayoutBuilderEntityClone constructor.

File

src/EntityClone/Config/ConfigEntityCloneBase.php, line 39

Class

ConfigEntityCloneBase
Class ConfigEntityCloneBase.

Namespace

Drupal\entity_clone\EntityClone\Config

Code

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