There are a lot of inconsistencies with where classes are found in modules and components, and form classes in particular.
For example, here are the form classes in taxonomy module:
src/Form/OverviewTerms.php
src/Form/TermDeleteForm.php
src/Form/VocabularyDeleteForm.php
src/Form/VocabularyResetForm.php
src/TermForm.php
src/VocabularyForm.php
Why are the two main entity forms in the top level namespace, but the other forms in a Forms namespace? It makes it confusing when you're looking for something.
I reckon this could be done before D9 by adding new classes and leaving the old ones as empty subclasses, though on the other hand, it creates clutter.
Should also best be done in child issues, one per module or component.
Comments