public function Callbacks::checkboxGroupCallback in Drupal 9
Same name and namespace in other branches
- 8 core/modules/system/tests/modules/ajax_forms_test/src/Callbacks.php \Drupal\ajax_forms_test\Callbacks::checkboxGroupCallback()
Ajax callback triggered by the checkbox in a #group.
File
- core/
modules/ system/ tests/ modules/ ajax_forms_test/ src/ Callbacks.php, line 70
Class
- Callbacks
- Simple object for testing methods as Ajax callbacks.
Namespace
Drupal\ajax_forms_testCode
public function checkboxGroupCallback($form, FormStateInterface $form_state) {
return $form['checkbox_in_group_wrapper'];
}