You are here

public function IndexForm::buildAjaxTrackerConfigForm in Search API 8

Handles switching the selected tracker plugin.

Parameters

array $form: The current form array.

\Drupal\Core\Form\FormStateInterface $form_state: The current form state.

Return value

array The part of the form to return as AJAX.

File

src/Form/IndexForm.php, line 495

Class

IndexForm
Provides a form for the Index entity.

Namespace

Drupal\search_api\Form

Code

public function buildAjaxTrackerConfigForm(array $form, FormStateInterface $form_state) {
  return $form['tracker_config'];
}