You are here

public function Select2AjaxForm::ajaxCallback in Select 2 8

Dummy ajax callback.

File

tests/modules/select2_form_test/src/Form/Select2AjaxForm.php, line 73

Class

Select2AjaxForm
Test form to test the select2 element.

Namespace

Drupal\select2_form_test\Form

Code

public function ajaxCallback($form, $form_state) {
  return $form['container'];
}