Same name in other branches
- 2.x src/EntityClone/Content/ContentEntityCloneFormBase.php \Drupal\entity_clone\EntityClone\Content\ContentEntityCloneFormBase::__construct()
Constructs a new ContentEntityCloneFormBase.
Paramètres
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\StringTranslation\TranslationManager $translation_manager: The string translation manager.
\Drupal\entity_clone\EntityCloneSettingsManager $entity_clone_settings_manager: The entity clone settings manager.
Fichier
-
src/
EntityClone/ Content/ ContentEntityCloneFormBase.php, line 63
Classe
- ContentEntityCloneFormBase
- Class Content Entity Clone Form Base.
Namespace
Drupal\entity_clone\EntityClone\ContentCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, TranslationManager $translation_manager, EntityCloneSettingsManager $entity_clone_settings_manager) {
$this->entityTypeManager = $entity_type_manager;
$this->translationManager = $translation_manager;
$this->entityCloneSettingsManager = $entity_clone_settings_manager;
}