I have an "event" content type along with an "exhibition" one. On an event node, there is an entity reference which points to an exhibition. I added a computed field on exhibitions which reverses this relation, i.e. so that events are directly linked from exhibitions and can be displayed with a field formatter. This computed field implements CacheableDependencyInterface and specifies the node_list:event cache tag (actually, I am not even sure whether this should be required, or should be natively dealt with by the Field API). It looks like this cache tag does not bubble up; at least when I link an event to an exhibition, it does not appear on the exhibition page unless I clear cache. When I manually force rendering of an "exhibition" node like in #3304772: Cache tags from Computed fields do not bubble up to Entity render array, I cannot find the node_list:event either.
Tested with Display Builder beta4, as I have not been able to update yet.
Comments