Taxonomy Delete Batch

Component ID

1831062

Component name

Taxonomy Delete Batch

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Taxonomy Delete Batch module allows you to delete large vocabularies and orphaned terms. This module aims to help you if you want to delete thousands of terms at once.
If you try to delete a Vocabulary what contains a huge amount of terms, you will probably face memory or execution time limitations.
Taxonomy Delete Batch aims to solve that problem using the Batch API of Drupal core.
You may find this module helpful, if you are building or administering a site what generates a huge amount of data, and you need to do a clean-up sometimes.

Comparison

I've tried other modules before writing Taxonomy Delete Batch, but none of them was able to handle thousands of terms, or the intended usage is drush, what is not available on shared hosts. This module can be used on shared hosts.

Installation

As usual.

Usage

The User who has the administer taxonomy permission is able to use Taxonomy Delete Batch.
It integrates into the edit page of vocabularies, and deletes all vocabularies using the Batch API if the user deletes a vocabulary using the admin UI.

Start

How to Batch delete orphaned terms and large vocabularies

  1. Navigate to admin/structure/taxonomy/delete-batch
  2. Select vocabularies what have orphaned terms
  3. Select vocabularies you would like to delete altogether
  4. Click the Start button

How to Delete a vocabulary

  1. Navigate to admin/structure/taxonomy
  2. Click edit of any of the vocabularies you want to delete
  3. Click delete on the edit page of the vocabulary
  4. Confirm the deletion

Continue

  1. Navigate to admin/structure/taxonomy/delete-batch
  2. Click the Continue button

Terminate

  1. Navigate to admin/structure/taxonomy/delete-batch
  2. Click the Terminate button

Remarks

  • Only term-node relations
  • Drupal 7 only.

Link to project page

http://drupal.org/sandbox/imre.horjan/1831062

Version Control

Git instructions

http://drupal.org/node/1831062/git-instructions/7.x-1.x/nonmaintainer

Direct link to git repository

http://git.drupal.org/sandbox/imre.horjan/1831062.git

Git clone

git clone --recursive --branch 7.x-1.x http://git.drupal.org/sandbox/imre.horjan/1831062.git taxonomy_delete_batch