You are here

public function SearchApiServiceInterface::configurationForm in Search API 7

Form constructor for the server configuration form.

Might be called with an incomplete server (no ID). In this case, the form is displayed for the initial creation of the server.

Parameters

array $form: The server options part of the form.

array $form_state: The current form state.

Return value

array A form array for setting service-specific options.

2 methods override SearchApiServiceInterface::configurationForm()
SearchApiAbstractService::configurationForm in includes/service.inc
Implements SearchApiServiceInterface::__construct().
SearchApiDummyService::configurationForm in tests/search_api_test_2.module
Form constructor for the server configuration form.

File

includes/service.inc, line 45
Contains SearchApiServiceInterface and SearchApiAbstractService.

Class

SearchApiServiceInterface
Interface defining the methods search services have to implement.

Code

public function configurationForm(array $form, array &$form_state);