You are here

public function ConfigEntityCloneFormBase::__construct in Entity Clone 8

Constructs a new ConfigEntityCloneFormBase.

Parameters

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

\Drupal\Core\StringTranslation\TranslationManager $translation_manager: The string translation manager.

File

src/EntityClone/Config/ConfigEntityCloneFormBase.php, line 42

Class

ConfigEntityCloneFormBase
Class ConfigEntityCloneFormBase.

Namespace

Drupal\entity_clone\EntityClone\Config

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, TranslationManager $translation_manager) {
  $this->entityTypeManager = $entity_type_manager;
  $this->translationManager = $translation_manager;
}