Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Flat taxonomy

3,205 sites Security covered Drupal 8–11
View on drupal.org

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

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
3
Tracked since
May 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 3
Maintenance
Dormant

Release Timeline

Releases

Version Type Core 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