You are here

function search_api_admin_add_index_ajax_callback in Search API 7

AJAX submit callback for search_api_admin_add_index().

Used for displaying the matching datasource configuration form for the selected item type.

1 string reference to 'search_api_admin_add_index_ajax_callback'
search_api_admin_add_index in ./search_api.admin.inc
Form constructor for adding an index.

File

./search_api.admin.inc, line 841
Administration page callbacks for the Search API module.

Code

function search_api_admin_add_index_ajax_callback(array $form, array &$form_state) {
  return $form['datasource'];
}