Move TextExtractor service to AI core
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3536887. -->
Reported by: [valthebald](https://www.drupal.org/user/239562)
Related to !1361 !861
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Follow-up to <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-13"><a href="https://www.drupal.org/project/ai_content/issues/3527520" title="Status: Needs work">#3527520: Attempt to find nested/referenced text field values for content suggestions</a></span>: AI content suggestion and AI translate (probably automators as well) have very similar requirement to extract and then insert textual metadata from/into content entities.</p>
<p>Such a service exists in ai_translate namespace (TextTranslator service + FieldTextExtractorInterface plugins), but it should be moved into core to be available to other submodules and contrib</p>
> Related issue: [Issue #3527520](https://www.drupal.org/node/3527520)
issue