function drush_search_api_disable_all in Search API 8
Disables all search indexes.
File
- ./
search_api.drush.inc, line 264 - Drush commands for Search API.
Code
function drush_search_api_disable_all() {
$command_helper = _search_api_drush_command_helper();
try {
$command_helper
->disableIndexCommand();
} catch (ConsoleException $exception) {
drush_set_error($exception
->getMessage());
}
}