Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Entity Usage

59,349 sites Security covered Drupal 10–11 Entity ecosystem
View on drupal.org

This module tracks how entities are related to each other, allowing you to see which content is being referenced by other content. It supports various methods of reference, including entity reference fields, link fields, and links within text fields. This can be useful for preventing the deletion of content that is actively being used elsewhere.

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.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

6 tracked projects depend on this one

Activity

Tracked releases
25
Tracked since
Nov 2024
Latest release
1 month ago
Releases (12 mo)
15 ▲ from 10
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
5.0.0-beta5 Pre-release 11 Jul 23, 2026
5.0.0-beta4 Pre-release 11 Jul 23, 2026
8.x-2.2 Stable 10–11 Jul 23, 2026
5.0.0-beta3 Pre-release 11 Jul 22, 2026
5.0.0-beta2 Pre-release 11 Jul 15, 2026
5.0.0-beta1 Pre-release 11 Jul 1, 2026
8.x-2.1 Stable 10–11 Jul 1, 2026
5.0.0-alpha1 Pre-release 11 Jun 17, 2026
8.x-2.0 Stable 10–11 May 27, 2026
8.x-2.0-beta29 Pre-release 10–11 May 13, 2026
8.x-2.0-beta28 Pre-release 10–11 Feb 19, 2026
8.x-2.0-beta27 Pre-release 10–11 Feb 18, 2026
8.x-2.0-beta26 Pre-release 10–11 Feb 11, 2026
5.x-dev Dev 11 Dec 9, 2025
8.x-2.0-beta25 Pre-release 10–11 Nov 5, 2025
8.x-2.0-beta24 Pre-release 10–11 Apr 4, 2025
8.x-2.0-beta23 Pre-release 10–11 Mar 11, 2025
8.x-2.0-beta22 Pre-release 10–11 Mar 10, 2025
8.x-2.0-beta21 Pre-release 10–11 Feb 26, 2025
8.x-2.0-beta20 Pre-release 10–11 Feb 25, 2025
8.x-2.0-beta19 Pre-release 10–11 Feb 18, 2025
8.x-2.0-beta18 Pre-release 10–11 Feb 15, 2025
8.x-2.0-beta17 Pre-release 10–11 Jan 14, 2025
8.x-2.0-beta16 Pre-release 10–11 Dec 2, 2024
8.x-2.0-beta15 Pre-release 10–11 Nov 28, 2024