Install 'Media Entity Usage' or 'Entity Usage'
In /admin/content/files the "used in" column shows number of uses of a specific asset
It appears to be a link, but clicking on it does nothing
Would be really useful to click and see urls where an asset is used
Stephen: It's a UI issue
- Click on the "2 places" link above and be taken to a page with links to the places
- Need to take into account images used in blocks
Jamie says there's a way to show "usage"
For media, perhaps it's this module: https://www.drupal.org/project/media_entity_usage
@stephen-cox yes, Webcurl have confirmed that we are using that module. It works for all types of media.
@dedavidson suggests https://www.drupal.org/project/entity_usage
Entity usage should already be installed
$ composer why drupal/entity_usage
localgovdrupal/localgov_paragraphs 2.4.3 requires drupal/entity_usage (^2.0@beta)
It just needs configuration for it to be shown by default for Media.
Hide the 'files' tab to non admins please @markconroy
Hi @stephen-cox @markconroy when will I see this in action please? Does the Demo site rebuild every night with the latest stuff? Thanks
@markconroy @stephen-cox could you check Editors, Authors and Contributors can see the Usage tab please? I just logged in as Editor on the Demo site and couldn't see it
Thanks
@willguv I don't have access to the repo/build tools for the demo site, so can't really test it.
If the latest version of the profile is installed the tab should be there, unless those roles don't have permission to view it.
@stephen-cox is probably best to test this is working on the demo site.
=== Thanks to Big Blue Door for sponsoring my time to work on this.