- Issue created by @datawench
- πΊπ¦Ukraine nginex
Hello, thanks for posting a detail issue here, I think a new field type that the module provides "entity_reference_entity_modify" is not fully supported by the module, as all the referenced fields need to go through a custom plugin. Try adding "entity_reference_entity_modify" here https://git.drupalcode.org/project/single_content_sync/-/blob/1.4.x/src/...
Then the custom plugin that exports references will pick that up https://git.drupalcode.org/project/single_content_sync/-/blob/1.4.x/src/...
But probably it will need to be extended and adjusted. When I have some time I can try to make a patch unless you do it faster ;)
- πΊπΈUnited States datawench
Ah, I see... thank you very much for the pointer. I'll take a close look at that.
And to correct my own comment, I misidentified
ImageItemNormalizer
as a class in your own plugin. And in fact it is not invoked when an export of this kind is executed. - πΊπΈUnited States datawench
Thank you again. Your suggestion prompted a very straightforward patch. I offer it here as a file rather than a merge request, because it's pretty raw, too specific, and can probably be done better with a higher level configuration setting.
If you have suggestions in that regard, let me know and I'd be happy to act on them, toward providing an useful merge request.
- Merge request !162Issue #3522692: Support entity_reference_entity_modify β (Open) created by nginex
- πΊπ¦Ukraine nginex
@datawench
your patch is totaly fine, I'm glad it works as expected now.
I just created a MR based on your patch but adjusted the condition a bit, so it better suits the existing code.
I will include this issue to the next release, it will not harm for sure ;)