You are here

public function SearchApiDataSourceControllerInterface::configurationFormSubmit in Search API 7

Submit callback for the form returned by configurationForm().

This method will only be called if that form was non-empty.

Any necessary changes to the submitted values should be made, afterwards they will automatically be stored as the index's "datasource" options. The method can also be used by the datasource controller to react to the possible change in its settings.

Parameters

array $form: The form returned by configurationForm().

array $values: The part of the $form_state['values'] array corresponding to this form.

array $form_state: The complete form state.

1 method overrides SearchApiDataSourceControllerInterface::configurationFormSubmit()
SearchApiAbstractDataSourceController::configurationFormSubmit in includes/datasource.inc
Submit callback for the form returned by configurationForm().

File

includes/datasource.inc, line 344
Contains the SearchApiDataSourceControllerInterface as well as a default base class.

Class

SearchApiDataSourceControllerInterface
Interface for all data source controllers for Search API indexes.

Code

public function configurationFormSubmit(array $form, array &$values, array &$form_state);