You are here

function taxonomy_delete_drush_command in Taxonomy Delete 8

Implements hook_drush_commands().

File

./taxonomy_delete.drush.inc, line 11
Contains taxonomy_delete.drush.inc.

Code

function taxonomy_delete_drush_command() {
  $items = [];
  $items['term-delete'] = [
    'description' => 'Delete all terms in a vocabulary',
    'aliases' => [
      'tdel',
    ],
    'drupal dependencies' => [
      'taxonomy_delete',
    ],
  ];
  return $items;
}