You are here

public function SearchApiDummyService::configurationFormValidate in Search API 7

Validation callback for the form returned by configurationForm().

$form_state['server'] will contain the server that is created or edited. Use form_error() to flag errors on form elements.

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.

Overrides SearchApiServiceInterface::configurationFormValidate

File

tests/search_api_test_2.module, line 56
Provides a second test service and server for testing Search API.

Class

SearchApiDummyService
Dummy service for testing.

Code

public function configurationFormValidate(array $form, array &$values, array &$form_state) {
}