Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

entity_usage

53,111 sites Security covered
View on drupal.org

This module provides a tool to track entity relationships in Drupal.

When do I need this module?

You may find this module useful if you want to:

  • Know the usage of nodes, media or taxonomy terms
  • Display usage / references of your content in general
  • Have a mechanism to prevent deletion of content (any entity) that is referenced by other piece of content

Supported relationships

Currently the following tracking methods are supported:

  • Entities related through entity_reference fields
  • Entities related through link fields
  • Standard HTML links inside text fields (when pointing to an entity URL).
  • Entities embedded into text fields using the Entity Embed or LinkIt modules
  • Entities related through fields provided by the Block Field,
    Entity Reference Revisions, and Dynamic Entity Reference modules
  • Entities related through Layout Builder. Supported methods: Core's inline
    (non-reusable) content blocks, and entities selected through the contributed
    Entity Browser Block module.

How it works

A relationship between two entities is considered so when a source entity points to a target entity through one of the methods described above.

You can configure the entity types to be tracked as a source, and what entity types should be tracked as target. By default all content entities (except files and users) are tracked as source.

You can also configure what plugins (from the tracking methods indicated above) should be active. By default all plugins are active.

When a source entity is created / updated / deleted, all active plugins are called to register potential relationships.

Content entities can have a local task link (Tab) on its canonical page linking to a "Usage" information page, where users can see where that entity is being used. You can configure which entity types should have a local task displaying usage information. By default no tabs are shown.

In order to configure these and other settings, navigate to "Configuration -> Content Authoring -> Entity Usage Settings" (or go to the URL /admin/config/entity-usage/settings).

Known limitations

Plugins track one usage per entity per field

The module will register only one usage of the same target entity per field. This is intentional in the current implementation, please open an issue if you have a use-case where this is a problem.

Only tested with MySQL

This module has only been tested with MySQL databases, if you experience issues in other platforms please file an issue describing the problem in the issue queue.

Activity

Total releases
12
First release
Feb 2025
Latest release
1 month ago
Release cadence
34 days
Stability
0% stable

Release Timeline

Releases

Version Type Release date
8.x-2.0-beta28 Pre-release Feb 19, 2026
8.x-2.0-beta27 Pre-release Feb 18, 2026
8.x-2.0-beta26 Pre-release Feb 11, 2026
5.x-dev Dev Dec 9, 2025
8.x-2.0-beta25 Pre-release Nov 5, 2025
8.x-2.0-beta24 Pre-release Apr 4, 2025
8.x-2.0-beta23 Pre-release Mar 11, 2025
8.x-2.0-beta22 Pre-release Mar 10, 2025
8.x-2.0-beta21 Pre-release Feb 26, 2025
8.x-2.0-beta20 Pre-release Feb 25, 2025
8.x-2.0-beta19 Pre-release Feb 18, 2025
8.x-2.0-beta18 Pre-release Feb 15, 2025