function form_test_tableselect_ajax_callback

Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/form_test/form_test.module \form_test_tableselect_ajax_callback()
  2. 10 core/modules/system/tests/modules/form_test/form_test.module \form_test_tableselect_ajax_callback()
  3. 11.x core/modules/system/tests/modules/form_test/form_test.module \form_test_tableselect_ajax_callback()

Ajax callback that returns the form element.

1 string reference to 'form_test_tableselect_ajax_callback'
FormTestTableSelectFormBase::tableselectFormBuilder in core/modules/system/tests/modules/form_test/src/Form/FormTestTableSelectFormBase.php
Build a form to test the tableselect element.

File

core/modules/system/tests/modules/form_test/form_test.module, line 111

Code

function form_test_tableselect_ajax_callback($form, FormStateInterface $form_state) {
    return $form['tableselect'];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.