AI Provider Documentation Example - Cleanup ConfigForm Example
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3552530. --> Reported by: [stefan.korn](https://www.drupal.org/user/1942204) Related to !954 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>The AI provider example documentation for the config form uses an imho unnecessary/unused service (module_handler). While this does no harm to the functionality, it is probably not good for an example. As this then finds easily way in implementations that follow this example (so did I).</p> <p>It probably was introduced by copy/pasting from some provider initially, which is still indicated by doc comment in the example.</p> <h4 id="summary-steps-reproduce">Steps to reproduce (required for bugs, but not feature requests)</h4> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>remove the service from the example in the documentation.</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <h3>Optional: Other details as applicable (e.g., User interface changes, API changes, Data model changes)</h3> > Related issue: [Issue #3476719](https://www.drupal.org/node/3476719)
issue