For context, I'm dealing with two content types: article and team_profile. In article nodes, we have an entity reference field pulling a team_profile node in to serve as the author information.
I would just render the entity with a new display mode, but our design has the photo set directly above the published date and name, next to one another:
In D7 I would dpm($content)
and drill down to the node information, double click, and pull out the rest of the reference path. I'm using kint and am able to spit out the entity reference contents to a certain level, {{ kint(content.field_blog_author[0]['#node']) }}
. The next level I want to access is values
, but trying the following gives me NULL:
content.field_blog_author[0]['#node’][‘values’]
content.field_blog_author[0]['#node’]=>values
content.field_blog_author[0]['#node’]->values
I'd ultimately like to render the title
and field_team_image
fields from the referenced node (seen here in the kint output). I haven't found information about this is the documentation or by searching. Would someone help me get unstuck?