public function IndexForm::buildAjaxDatasourceConfigForm in Search API 8
Handles changes to the selected datasources.
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 465
Class
- IndexForm
- Provides a form for the Index entity.
Namespace
Drupal\search_api\FormCode
public function buildAjaxDatasourceConfigForm(array $form, FormStateInterface $form_state) {
return $form['datasource_configs'];
}