You are here

public function SearchApiDummyService::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.

Overrides SearchApiServiceInterface::configurationForm

File

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

Class

SearchApiDummyService
Dummy service for testing.

Code

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