Change namespace for AI sub modules being moved from AI core
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3553545. -->
Reported by: [a.dmitriiev](https://www.drupal.org/user/3235287)
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p><strong>New description:</strong></p>
<p>Several AI sub-modules will be moved out of AI core:</p>
<p>* Field Widget Actions <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-3"><a href="https://www.drupal.org/project/ai/issues/3552394" title="Status: Closed (duplicate)">#3552394: Move Field Widget Actions submodule into standalone module project</a></span><br>
* Content suggestions <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-8"><a href="https://www.drupal.org/project/ai/issues/3552885" title="Status: Needs review">#3552885: Move out AI Content Suggestions</a></span><br>
* Translate <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/ai/issues/3552887" title="Status: Closed (fixed)">#3552887: Move out AI Translate</a></span><br>
* Validations <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/ai/issues/3552888" title="Status: Closed (fixed)">#3552888: Move out AI Validations</a></span><br>
* Search <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/ai/issues/3552884" title="Status: Closed (fixed)">#3552884: Move out AI Search</a></span></p>
<p>But we are running into namespace issues where the submodule namespace clashes with the contrib module namespace and then the latter has a more convoluted namespace, e.g. code>drupal/field_widget_actions-field_widget_actions.</p>
<p>We'd like to have the contrib module have the clean namespace.</p>
<p><strong>Original description:</strong></p>
<p>AI module (<a href="https://www.drupal.org/project/ai">https://www.drupal.org/project/ai</a>) had a submodule "Field Widget Actions". Now this submodule is going out from it in version 2.0.x and there is already a standalone project <a href="https://www.drupal.org/project/field_widget_actions">https://www.drupal.org/project/field_widget_actions</a> that has conflict section in its composer.json file to not be installed with AI 1.x as it is part of it.</p>
<p>It seems that for the submodule the namespace <code>drupal/field_widget_actions</code> was already created, therefore standalone project has namespace <code>drupal/field_widget_actions-field_widget_actions</code>. This is of course not the desired one. </p>
<p>Is it possible to have a namespace <code>drupal/field_widget_actions</code> for project <a href="https://www.drupal.org/project/field_widget_actions">https://www.drupal.org/project/field_widget_actions</a> instead of submodule in AI 1.x?</p>
<p>Thank you in advance!</p>
issue