Skip to main content
5 events
when toggle format what by license comment
Mar 15, 2017 at 15:07 vote accept cheesetriple
Mar 15, 2017 at 15:07 comment added cheesetriple This worked for that specific case but didn't work when the entity reference node wasn't a field of node being referred to in the route request. Though this does indeed answer how to get the entity reference node object and has been really helpful for something else I am trying to do so thank you very much!
Mar 15, 2017 at 13:46 comment added user21641 Im not sure but i think $node->get('fieldname')->entity works.
Mar 15, 2017 at 13:28 history edited Kevin CC BY-SA 3.0
added 146 characters in body
Mar 15, 2017 at 13:22 history answered Kevin CC BY-SA 3.0