public function SearchApiServiceInterface::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.
2 methods override SearchApiServiceInterface::configurationFormValidate()
- SearchApiAbstractService::configurationFormValidate in includes/
service.inc - Implements SearchApiServiceInterface::__construct().
- SearchApiDummyService::configurationFormValidate in tests/
search_api_test_2.module - Validation callback for the form returned by configurationForm().
File
- includes/
service.inc, line 60 - Contains SearchApiServiceInterface and SearchApiAbstractService.
Class
- SearchApiServiceInterface
- Interface defining the methods search services have to implement.
Code
public function configurationFormValidate(array $form, array &$values, array &$form_state);