Drupal is a registered trademark of Dries Buytaert
Release: Leaflet 10.4.11 Minor update available for module leaflet (10.4.11). Release: Session Inspector 1.0.8 Minor update available for module session_inspector (1.0.8). Release: Migrate QA 2.0.4 Minor update available for module migrate_qa (2.0.4). Release: CKEditor Description List 3.0.0 Major update available for module ckeditor_descriptionlist (3.0.0). Release: FlowDrop 2.4.0 Minor update available for module flowdrop (2.4.0). Release: JWT Token Refresh 1.0.4 Minor update available for module jwt_token_refresh (1.0.4). Release: ConReg 1.0.0-beta1 First beta version released for module conreg (1.0.0-beta1). Release: AI Image Studio 1.0.0-beta8 New beta version released for module ai_image_studio (1.0.0-beta8). Usage Milestone: Role Theme Switcher Module role_theme_switcher crossed 1,000 active installs. Module Revived: Decoupled Router 2.0.7 Module decoupled_router updated after 11 months of inactivity (2.0.7).

Taxonomy Set Lineage

175 sites Security covered
View on drupal.org

This module automatically adds all parent terms in a taxonomy to the fields that reference them. This ensures that content tagged with a specific term is also associated with its parent categories, making it easier to find and organize information. It also provides a bulk operation to update existing content with missing parent terms.

This module will automatically add all parent terms to the field values for each term in an entity's taxonomy reference fields.

An example use case would be a Geography taxonomy containing all continents, countries and cities in a tree structure. Without this module, when a user tags content with Berlin, the content would not be able to be found under Germany or Europe and those parent tags would not appear on the content page.

This module will make sure that these parent terms are also selected when the content is saved.

How it works
If any vocabularies have lineage set, we check entities when they are saved to see if they have fields referring to these vocabularies. If so, we automatically select all parent terms of manually selected terms.

Note that this does not override the maximum number of terms selectable in a field. If a field restricted to only one term this module will not be able to set any parent terms in that field.

This module should work with any drupal language / i18n / localization strategy.

Bulk operations/actions
The module provides an Update Taxonomy Term Parents action that can be applied to selected entities on the content administration page.

This will add any missing parents to the selected entity's taxonomy reference fields. This will not remove any of the existing values. This means if you edit your taxonomy and move a term to a different parent, the new parent will be added but the previous parent will still remain in the list of values.

Other taxonomy modules:
Hierarchical Select - provides a hierarchical selection widget for Drupal 7 which includes saving of lineage.
Taxonomy Term Reference Tree Widget - provides a tree widget for Drupal 7, 8 and 9.
Simple hierarchical select - provides a hierarchical selection widget for Drupal 9 - does not save lineage.
Client-side hierarchical select - provides a hierarchical selection widget for Drupal 9 and includes the option to save lineage.

Activity

Tracked releases
4
Tracked since
Mar 2026
Latest release
4 months ago
Releases (12 mo)
4 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
2.0.3 Stable Apr 1, 2026
2.0.2 Stable Mar 30, 2026
2.0.1 Stable Mar 30, 2026
2.0.0 Stable Mar 30, 2026