public function ContentBuilderForm::pageTwoBackSubmit in Schema.org configuration tool (RDF UI) 8
Back button handler submit 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.
File
- rdf_builder/
src/ Form/ ContentBuilderForm.php, line 282
Class
Namespace
Drupal\rdf_builder\FormCode
public function pageTwoBackSubmit(array &$form, FormStateInterface &$form_state) {
$form_state
->setValues($form_state
->get([
'page_values',
1,
]));
$form_state
->set('page_num', 1);
$form_state
->setRebuild();
}