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