When running imports you need to be able to remove items in bulk when testing. Drush offers a very nice option to bulk delete items. This snippet shows you how to remove the terms of vocabulary "tags" in one command:

$bash drush entity:delete taxonomy_term --bundle=application

This is the response:

$bash Deleted taxonomy_term entity Ids: 57, 69

 


Saved you some valuable time?

Donate and get more free time-saving code on this website in the future.