You are here

public function QuickNodeCloneEntitySettingsForm::__construct in Quick Node Clone 8

QuickNodeCloneEntitySettingsForm constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The config factory.

\Drupal\Core\Entity\EntityFieldManagerInterface $entityFieldManager: The entity field manager service.

\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entityTypeBundleInfo: The entity type bundle info provider.

Overrides ConfigFormBase::__construct

File

src/Form/QuickNodeCloneEntitySettingsForm.php, line 91

Class

QuickNodeCloneEntitySettingsForm
Abstract class to configure how entities are cloned.

Namespace

Drupal\quick_node_clone\Form

Code

public function __construct(ConfigFactoryInterface $configFactory, EntityFieldManagerInterface $entityFieldManager, EntityTypeBundleInfoInterface $entityTypeBundleInfo) {
  parent::__construct($configFactory);
  $this->configFactory = $configFactory;
  $this->entityFieldManager = $entityFieldManager;
  $this->entityTypeBundleInfo = $entityTypeBundleInfo;
}