public function FormTestStorageForm::continueSubmitForm in Drupal 8
Same name and namespace in other branches
- 9 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 129
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();
}