Same name and namespace in other branches
  1. 8.x-1.x src/EntityClone/Config/LayoutBuilderEntityClone.php \Drupal\entity_clone\EntityClone\Config\LayoutBuilderEntityClone::__construct()

LayoutBuilderEntityClone constructor.

Paramètres

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

string $entity_type_id: The entity type ID.

Overrides ConfigEntityCloneBase::__construct

Fichier

src/EntityClone/Config/LayoutBuilderEntityClone.php, line 30

Classe

LayoutBuilderEntityClone
Class LayoutBuilderEntityView.

Namespace

Drupal\entity_clone\EntityClone\Config

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, $entity_type_id, UuidInterface $uuid) {
    parent::__construct($entity_type_manager, $entity_type_id);
    $this->uuidGenerator = $uuid;
}