public function Wizard::prompt in Examples for Developers 8
Same name and namespace in other branches
- 3.x modules/ajax_example/src/Form/Wizard.php \Drupal\ajax_example\Form\Wizard::prompt()
Wizard callback function.
Parameters
array $form: Form API form.
\Drupal\Core\Form\FormStateInterface $form_state: Form API form.
Return value
array Form array.
File
- ajax_example/
src/ Form/ Wizard.php, line 181
Class
- Wizard
- AJAX example wizard.
Namespace
Drupal\ajax_example\FormCode
public function prompt(array $form, FormStateInterface $form_state) {
return $form;
}