Problem/Motivation

Provide delete feature for each taxonomy vocabulory terms.

Comments

dishabhadra created an issue. See original summary.

dishabhadra’s picture

Title: Drush Delete for taxonomy Vocabulory » Drush Delete for individual terms of taxonomy Vocabulory
Issue summary: View changes
dishabhadra’s picture

Status: Active » Needs review
StatusFileSize
new2 KB

Apply the patch. Kindly review it.

Now you can delete all terms of specific vocabulary using this command:
eg. drush delete-all-taxonomy-vocabulary-term tags

manojapare’s picture

Status: Needs review » Reviewed & tested by the community

Looks good. Just change drush alias to short name something like 'datv'

rakesh.gectcr’s picture

Status: Reviewed & tested by the community » Needs work
 ~ drush_delete (8.x-2.x) $ git apply -v drush_delete_for-2890775-3.patch 
Checking patch drush_delete.drush.inc...
error: while searching for:
    'drupal dependencies' => ['drush_delete'],
    'aliases' => ['delete-all entity'],
  ];
  return $items;
}


error: patch failed: drush_delete.drush.inc:24
error: drush_delete.drush.inc: patch does not apply
Checking patch src/DeleteContent.php...
rakesh.gectcr’s picture

Issue tags: +Needs reroll
rakesh.gectcr’s picture

Status: Needs work » Reviewed & tested by the community
StatusFileSize
new1.99 KB

A small change will commit it sooner.

rakesh.gectcr’s picture

A small change will commit it sooner.

rakesh.gectcr’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.