- Issue created by @dakwamine
Automatically closed - issue fixed for 2 weeks with no activity.
DecoupledFieldFormatter classes have properties attached to them, but they should not be there because it breaks the Plugin model.
Indeed, a plugin is instantiated for a view display and a field, not per content. So when a content references another one with the same entity type + bundle + view display, the properties are overwritten by the recursed content field.
Fix the model so that the methods are pure, or at least, have the least side effects as possible.
Commit the work. I've just finished it.
None.
All formatters now have a methods with a cacheable metadata argument that can collect cache metadata, which replaces the addProcessedFieldCacheTag method.
The $processedFieldCacheTags property has been removed, and all associated methods.
The $hasProcessedField property has been removed, and all associated methods.
The $processedFieldValue property has been removed, and all associated methods.
None.
Active
1.5
Code
Automatically closed - issue fixed for 2 weeks with no activity.