Same name in other branches
- 8.x-1.x src/Form/EntityCloneSettingsForm.php \Drupal\entity_clone\Form\EntityCloneSettingsForm::submitForm()
Fichier
-
src/
Form/ EntityCloneSettingsForm.php, line 134
Classe
- EntityCloneSettingsForm
- Provide the settings form for entity clone.
Namespace
Drupal\entity_clone\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
$this->entityCloneSettingsManager
->setFormSettings($form_state->getValue('form_settings'));
$this->entityCloneSettingsManager
->setTakeOwnershipSettings($form_state->getValue('take_ownership'));
$this->entityCloneSettingsManager
->setExcludeClonedSetting($form_state->getValue('no_suffix'));
parent::submitForm($form, $form_state);
}