You are here

function hook_default_search_api_server_alter in Search API 7

Alter default search servers.

Parameters

array $defaults: An array of default search servers, keyed by machine names.

See also

hook_default_search_api_server()

File

./search_api.api.php, line 460
Hooks provided by the Search API module.

Code

function hook_default_search_api_server_alter(array &$defaults) {
  $defaults['main']->name = 'Customized main server';
}