entity_usage_light
55 sites
Security covered
Simple and lightweight module to display referenced entities. Works with all entity type. Do not track usage but simply displays the list of referenced entities in a new tab.
This module adds a tab to each entity type's local tasks where users with sufficient permission can quickly see the list of all referenced entities.
Most common use case: enable "Usage" tab on Node and select "Medias" to get the list of all Media used by a node - including media in WYSIWYG, entity_reference fields, paragraphs...etc.
This module detects referenced entities from the following field types:
- entity_reference field
- Image fields
- Paragraphs fields - and fields inside paragraphs
- Text fields - e.g. CKEditor fields and embed entities
How to install
- Download the module
composer require drupal/entity_usage_light - Enable the module
drush en entity_usage_light - Activate the module per entity type in Admin > Config > Content Authoring > Entity Usage Light settings
- Go a bundle config edit form (e.g. the "article" node type)
- Select the detectable entity types for this bundle
- Open an entity and go to "Usage" tab (cf. screenshots)
- If bundle has revisions enabled, you can also view Usage per revisions (WIP in this issue)
Similar modules
- Entity Usage: recommended if you need a more advanced tool to track referenced entities usage throughout your website.
Slack channel
Join the discussion on Slack in the #entity-usage-light channel. Details on how to connect to Drupal Slack here.