public function SearchApiAbstractDataSourceController::configurationForm in Search API 7
Form constructor for configuring the datasource for a given index.
Parameters
array $form: The form returned by configurationForm().
array $form_state: The form state. $form_state['index'] will contain the edited index. If this key is empty, then a new index is being created. In case of an edit, $form_state['index']->options['datasource'] contains the previous settings for the datasource.
Return value
array|false A form array for configuring this callback, or FALSE if no configuration is possible.
Overrides SearchApiDataSourceControllerInterface::configurationForm
2 methods override SearchApiAbstractDataSourceController::configurationForm()
- SearchApiCombinedEntityDataSourceController::configurationForm in includes/
datasource_multiple.inc - Form constructor for configuring the datasource for a given index.
- SearchApiEntityDataSourceController::configurationForm in includes/
datasource_entity.inc - Form constructor for configuring the datasource for a given index.
File
- includes/
datasource.inc, line 833 - Contains the SearchApiDataSourceControllerInterface as well as a default base class.
Class
- SearchApiAbstractDataSourceController
- Provides a default base class for datasource controllers.
Code
public function configurationForm(array $form, array &$form_state) {
return FALSE;
}