function hook_default_search_api_index_alter in Search API 7
Alter default search indexes.
Parameters
array $defaults: An array of default search indexes, keyed by machine names.
See also
hook_default_search_api_index()
File
- ./
search_api.api.php, line 573 - Hooks provided by the Search API module.
Code
function hook_default_search_api_index_alter(array &$defaults) {
$defaults['main']->name = 'Customized main index';
}