Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a view built with the relationship 'Entity Reference: Referencing entity'.
I have a field: content:path using this relationship.
I want to access this field in my views php. There is an option $row->path but it doesn't show anything when I try and echo it.
How do I access the $row->path.
What I am trying to do is make my image a link. The image is using this relationship and so I can't see to access it.
What code can I use to access the image?
Comments
Comment #1
LTech CreditAttribution: LTech commented