public function ConfigFieldsExportToCodeForm::submitForm in Field tools 8
Form submission handler.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Overrides FormInterface::submitForm
File
- src/
Form/ ConfigFieldsExportToCodeForm.php, line 187
Class
- ConfigFieldsExportToCodeForm
- Provides a form to clone multiple fields from an entity bundle.
Namespace
Drupal\field_tools\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
$form_state
->setRebuild();
}