I have the following content type:
field_image -> reference to a media image (media--image is the resource name)
field_tag -> reference to a taxonomy term which has a field_image reference to a media image

The image referenced by the taxonomy term is not included because the $visited array in getIncludes() already has a resource of type media--image.

We should probably create $key from both the $prefix and $resource_type->getTypeName() for better unicity.

Command icon Show commands

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

vbouchet created an issue. See original summary.

vbouchet’s picture

Status: Active » Needs review

Please find a fix for the issue.