Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Flat taxonomy

Security covered Maintenance fixes only 2,610 sites

This module provides an option to create flat taxonomies, preventing the creation of nested terms. It achieves this by altering term creation and overview forms to disallow parent selection.

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

Drupal 8–11

Ask your assistant about Flat taxonomy

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Feb 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 3
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.0.2 Stable 8–11 Aug 29, 2025
2.0.x-dev Dev 8–11 Aug 29, 2025
2.0.1 Stable 8–11 May 15, 2025
2.0.0 Stable 8–10 Jul 4, 2023
8.x-1.3 Stable 8–10 Feb 16, 2023