Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Taxonomy Max Depth

Security covered Under active development 1,066 sites

This module allows administrators to set a maximum depth for terms within a specific vocabulary, preventing excessively deep hierarchies. It also offers the option to completely disable hierarchical nesting for a vocabulary.

The module allows administrators to limit max term depth per vocabulary.

It adds a "Max ancestor depth" option to the vocabulary form. The limit is added to the vocabulary config as a third-party setting. It affects the term overview form (table drag limit + validation) and the term creation/edit form (validation only). The module allows to completely disable the hierarchy on a vocabulary as well.

The module provides services for max depth reading/writing from/to the vocabulary, as well as a service that helps with ancestor depth checking. This may be useful for third-party modules that implement customized term tree UI.

TODO (patches are welcome):

  • Validate existing terms when changing the vocabulary limit.
Drupal 9–11

Ask your assistant about Taxonomy Max Depth

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

  • taxonomy Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Feb 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
2.1.0 Stable 9–11 Sep 4, 2024
2.0.0 Stable 9–10 Feb 5, 2023
2.x-dev Dev 9–11 Feb 5, 2023