You are here

public function FacConfigForm::pluginSelection in Fast Autocomplete 8

AJAX callback on plugin selection.

Parameters

array $form: The form array.

\Drupal\Core\Form\FormStateInterface $form_state: The form_state object.

Return value

array Part of the form to replace.

File

src/Form/FacConfigForm.php, line 319

Class

FacConfigForm
Class FacConfigForm.

Namespace

Drupal\fac\Form

Code

public function pluginSelection(array &$form, FormStateInterface $form_state) {
  return $form['plugin'];
}