function 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\Form

Code

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.