Closed (fixed)
Project:
Entity Mesh
Version:
1.2.3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
18 Nov 2025 at 12:49 UTC
Updated:
5 Dec 2025 at 12:14 UTC
Jump to comment: Most recent
On node edit forms, the Entity Mesh module adds an additional tab that displays all relationships between that node and other entities.
It would be very useful to have the same kind of “relationships” tab available for other entity types, especially media entities, so that site builders and editors can easily see from which content (nodes, blocks, etc.) a given media item is referenced.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
lpeidro commentedThe feature is ready for testing.
The Entity Mesh tab should now appear in the edit forms of both media and taxonomy terms.
Thank you.
Comment #4
lpeidro commentedThe image processing feature was not implemented in the Entity Mesh, so I have added it. This implementation handles three cases: the use of the "img" tag, the implementation of lazy loading, and the use of responsive images with the "picture" tag. In the case of "picture", we only process the first "source" tag. The remaining sources typically refer to the same original image and media.
Comment #5
lpeidro commentedTo improve performance and reduce the number of database queries, an initial logic has been added to detect the original image name by checking if the file has two extensions. This is a common pattern when WebP images are generated (e.g., example.jpg.webp). If the file has only one extension (e.g., example.webp), the system will check the database to determine whether it is a derived image or one that was uploaded in that format.
Comment #6
lpeidro commentedI merged the branch, all the test work properly.
Comment #8
lpeidro commented