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 entity reference from page to another page. When there are no referenced pages, context activate as they should. As soon as I reference another page, context will also check that page's conditions and reacts to them too. This happens when I have "Rendered entity" field formatter for that entity reference field. Using plain "Entity ID" will not mess up the context.
Comments
Comment #1
mErilainen CreditAttribution: mErilainen commentedOr perhaps this is working as designed, because there is also a "Entity view mode" condition available. So loading the entity through entity reference should maybe activate also context of the referenced node too.
But if I add entity view mode condition "Node - Full content" to the context, it still activates although the field formatter is set to Teaser.
Comment #2
mErilainen CreditAttribution: mErilainen commentedThe Entity view mode condition comes from Context Entity Field module, but I can't move this issue there because the module version gets an illegal value here at drupal.org.