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'm using a certain entity ref field across multiple content types, and was creating a token for it to use with the metatag module when I noticed that in my blog type, when I "dpm($node);" I have access to "$node->my_field['und'][0]['entity']->my_field2['und'][0]['uri']);" vs only "$node->my_field['und'][0]['target_id'];" in my article content type. I checked the field settings in both content types, and they are identical. Why would I have access to the rendered entity in one content type and not the other?
Thank you,
Sean
Comments