function FormTestStorageForm::continueSubmitForm
Same name in other branches
- 8.9.x core/modules/system/tests/modules/form_test/src/Form/FormTestStorageForm.php \Drupal\form_test\Form\FormTestStorageForm::continueSubmitForm()
- 10 core/modules/system/tests/modules/form_test/src/Form/FormTestStorageForm.php \Drupal\form_test\Form\FormTestStorageForm::continueSubmitForm()
- 11.x core/modules/system/tests/modules/form_test/src/Form/FormTestStorageForm.php \Drupal\form_test\Form\FormTestStorageForm::continueSubmitForm()
File
-
core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ FormTestStorageForm.php, line 131
Class
- FormTestStorageForm
- A multistep form for testing the form storage.
Namespace
Drupal\form_test\FormCode
public function continueSubmitForm(array &$form, FormStateInterface $form_state) {
$form_state->set([
'thing',
'title',
], $form_state->getValue('title'));
$form_state->set([
'thing',
'value',
], $form_state->getValue('value'));
$form_state->setRebuild();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.