- Issue created by @jhedstrom
- 🇺🇸United States jhedstrom Portland, OR
I added some proof-of-concept code that works. Some refinement would be needed to get this fully working across all entity types, etc.
- First commit to issue fork.
- 🇧🇬Bulgaria valthebald Sofia
I see some common approach with how AI translate module extracts textual data from (sometimes nested) entity fields - there is FieldTextExtractorInterface introduced in https://www.drupal.org/node/3464024 → and TextExtractor service that has extractTextMetadata/insertTextMetadata methods.
Can this be reused in content suggestions?
That would require some (minor) changes like moving the service and field plugins from ai_translate to ai module itself, but benefit IMO is bigger