Refactor the PluginManager locations
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3532754. -->
Reported by: [marcus_johansson](https://www.drupal.org/user/385947)
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Different developers and different placements have led to having the pluginmanager at different locations - we should adhere to keeping them all in the /PluginManager directory for consistency.</p>
<p>All the plugin managers are final, so this should not lead to any breaking changes and can be changed for better code readability already for 1.2.0.</p>
<p>The plugin manager to move are:</p>
<ul>
<li>AiProviderPluginManager.php</li>
<li>AiVdbProviderPluginManager.php</li>
<li>Service/FunctionCalling/FunctionCallPluginManager</li>
<li>Service/FunctionCalling/FunctionGroupPluginManager</li>
</ul>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<ul>
<li>Move the plugin managers into PluginManager directory</li>
<li>Change the namespace</li>
<li>Change the services file</li>
<li>Add tests that verifies that loading them still works</li>
<li>Check if the documentation is mentioning the directory anywhere and change it</li>
</ul>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
issue