Flat taxonomy

Categories

Component ID

2598362

Component name

Flat taxonomy

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

1412

Component created

Component changed

Component body

This is a very basic module which provide a new option in vocabulary creation/edition form to enforce it to be flat.
As a developer, I faced some situation where the vocabulary was supposed to be flat and development have been done based on that assumption. Later, a contributor creates a new term using the parent field (hierarchical vocabulary). It causes issue on the front-end or at least it is confusing for the contributor.
This module should avoid the situation by removing the possibility to create nested terms.

  • Alter the term creation/edition for to be sure it is impossible to select a parent.
  • Alter the term overview page to be sure it is impossible to create a nested vocabulary.

The Drupal 7 version of the module has some additional features:

  • Drush integration to flatten a vocabulary
  • Confirmation step on vocabulary edition form if the form is flagged to be flatten but contains nested terms.

Any new feature to be added to the module is welcomed ;-)