function searchindex_wipe_drush_command in Search Index Wipe 8
Same name and namespace in other branches
- 7 searchindex_wipe.drush.inc \searchindex_wipe_drush_command()
Implements hook_drush_command().
File
- ./
searchindex_wipe.drush.inc, line 24 - Drush related functions.
Code
function searchindex_wipe_drush_command() {
$items['searchindex-wipe'] = [
'description' => 'Wipes the search index',
'aliases' => [
'siw',
],
'examples' => [
'drush siw' => 'Wipes search index.',
],
];
return $items;
}