You are here

function delete_all_drush_command in Delete all 6

Same name and namespace in other branches
  1. 8 drush/delete_all.drush.inc \delete_all_drush_command()
  2. 7 delete_all.drush.inc \delete_all_drush_command()
  3. 2.x drush/delete_all.drush.inc \delete_all_drush_command()

Implementation of hook_drush_command().

File

./delete_all.drush.inc, line 11
delete all Drush command

Code

function delete_all_drush_command() {
  $items = array();
  $items['delete-all'] = array(
    'callback' => 'delete_all_drush_delete',
    'description' => "Delete all nodes of a specific content type",
  );
  return $items;
}