You are here

function taxonomy_orphanage_drush_command in Taxonomy Orphanage 7

Implements hook_drush_command().

File

./taxonomy_orphanage.drush.inc, line 11
Drush callbacks for taxonomy_orphanage.

Code

function taxonomy_orphanage_drush_command() {
  $items = array();
  $items['taxonomy-orphanage-roundup'] = array(
    'description' => 'Finds and removes orphaned taxonomy references.',
    'aliases' => array(
      'tor',
    ),
    'options' => array(
      'limit' => 'The number of entities to process per field.',
    ),
  );
  return $items;
}