You are here

public function QuickNodeCloneEntitySettingsForm::setEntityType in Quick Node Clone 8

Sets the entity type the settings form is for.

Parameters

string $entityTypeId: The entity type id i.e. article.

Overrides QuickNodeCloneEntitySettingsFormInterface::setEntityType

File

src/Form/QuickNodeCloneEntitySettingsForm.php, line 63

Class

QuickNodeCloneEntitySettingsForm
Abstract class to configure how entities are cloned.

Namespace

Drupal\quick_node_clone\Form

Code

public function setEntityType($entityTypeId) {
  $this->entityTypeId = $entityTypeId;
}