Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module helps prevent accidental deletion of taxonomy terms by tracking where they are used across all content types and fields. It provides detailed usage reports and blocks deletion if a term is still referenced, even in draft content.

The Taxonomy Usage module provides comprehensive detection of taxonomy term usage across all entity types and fields, preventing accidental deletion of terms that are still referenced in content.

Features

  • Automatically finds taxonomy term usage across all entity types and fields, not just nodes
  • Prevents accidental deletion of taxonomy terms that are still in use, with detailed usage reports
  • Detects usage in both published content and draft revisions
  • Provides detailed usage information with direct links to content

Note: The module includes smart handling of parent-child relationships in taxonomies through its getTermUsageWithChildren() method. When you attempt to delete a parent term, the module doesn't just check if that specific term is in use – it also checks all of its child terms.

Post-Installation

  1. Visit /admin/config/taxonomy/usage to configure the module settings:
    • Enable/disable deletion prevention
    • Choose which entity types to check
    • Set maximum results to display
    • Configure draft content checking
  2. When viewing taxonomy terms, you'll see:
    • A new "View usage" operation link next to each term
    • Detailed usage information when attempting to delete terms in use
    • Prevention of deletion with helpful error messages
  3. The module automatically:
    • Intercepts taxonomy term deletion attempts
    • Displays usage information before allowing deletion
    • Prevents deletion of terms that are still in use

Additional Requirements

Integration with Taxonomy Manager: If you use the Taxonomy Manager module, usage information will automatically appear in bulk deletion forms.

  • Paragraphs Module: When enabled, the module provides full support for paragraph entities, including parent entity linking and draft paragraph detection
  • Taxonomy Manager: Enhanced bulk operations with usage information displayed in deletion forms

This module was created with the assistance of AI technology to accelerate development and ensure comprehensive documentation and code quality.

Activity

Total releases
1
First release
Oct 2025
Latest release
9 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Release date
1.0.x-dev Dev Oct 10, 2025