Constructs a new ConfigEntityCloneBase.
Paramètres
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
string $entity_type_id: The entity type ID.
1 method overrides ConfigEntityCloneBase::__construct()
- LayoutBuilderEntityClone::__construct dans src/
EntityClone/ Config/ LayoutBuilderEntityClone.php  - LayoutBuilderEntityClone constructor.
 
Fichier
- 
              src/
EntityClone/ Config/ ConfigEntityCloneBase.php, line 39  
Classe
- ConfigEntityCloneBase
 - Class Config Entity CloneBase.
 
Namespace
Drupal\entity_clone\EntityClone\ConfigCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, $entity_type_id) {
    $this->entityTypeManager = $entity_type_manager;
    $this->entityTypeId = $entity_type_id;
}