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

Constructs a new ConfigEntityCloneFormBase.

Paramètres

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

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

Fichier

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

Classe

ConfigEntityCloneFormBase
Class Config Entity Clone FormBase.

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;
}