Same name in other branches
- 8.x-1.x src/EntityClone/Config/ConfigEntityCloneBase.php \Drupal\entity_clone\EntityClone\Config\ConfigEntityCloneBase::__construct()
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 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 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;
}