public function SearchApiDataSourceControllerInterface::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.
1 method overrides SearchApiDataSourceControllerInterface::configurationForm()
- SearchApiAbstractDataSourceController::configurationForm in includes/
datasource.inc - Form constructor for configuring the datasource for a given index.
File
- includes/
datasource.inc, line 311 - Contains the SearchApiDataSourceControllerInterface as well as a default base class.
Class
- SearchApiDataSourceControllerInterface
- Interface for all data source controllers for Search API indexes.
Code
public function configurationForm(array $form, array &$form_state);