function Simplest::promptCallback
Same name in other branches
- 4.0.x modules/ajax_example/src/Form/Simplest.php \Drupal\ajax_example\Form\Simplest::promptCallback()
Handles switching the available regions based on the selected theme.
File
-
modules/
ajax_example/ src/ Form/ Simplest.php, line 76
Class
- Simplest
- A relatively simple AJAX demonstration form.
Namespace
Drupal\ajax_example\FormCode
public function promptCallback($form, FormStateInterface $form_state) {
return $form['replace_textfield_container'];
}