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.
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.- Project categories: Administration tools, Site structure
867 sites report using this module
- Created by dmitriy.trt on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.

