Drupal is a registered trademark of Dries Buytaert
cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)!

flat_taxonomy

2,922 sites Security covered
View on drupal.org

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 ;-)

Activity

Total releases
3
First release
May 2025
Latest release
9 months ago
Release cadence
53 days
Stability
67% stable

Release Timeline

Releases

Version Type Release date
2.0.2 Stable Aug 29, 2025
2.0.x-dev Dev Aug 29, 2025
2.0.1 Stable May 15, 2025