function FormTestTableSelectFormBase::tableselectAjaxCallback
Same name and namespace in other branches
- 11.x core/modules/system/tests/modules/form_test/src/Form/FormTestTableSelectFormBase.php \Drupal\form_test\Form\FormTestTableSelectFormBase::tableselectAjaxCallback()
Ajax callback that returns the form element.
File
-
core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ FormTestTableSelectFormBase.php, line 61
Class
- FormTestTableSelectFormBase
- Provides a base class for tableselect forms.
Namespace
Drupal\form_test\FormCode
public function tableselectAjaxCallback(array $form, FormStateInterface $form_state) : array {
return $form['tableselect'];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.