You are here

public function ContentEntityCloneFormBase::__construct in Entity Clone 8

Constructs a new ContentEntityCloneFormBase.

Parameters

\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.

File

src/EntityClone/Content/ContentEntityCloneFormBase.php, line 63

Class

ContentEntityCloneFormBase
Class ContentEntityCloneFormBase.

Namespace

Drupal\entity_clone\EntityClone\Content

Code

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