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

LTech’s picture

Title: echo content:path field. $row->path shows null. » how to access field if relationship has been used on the field?