Problem/Motivation
Forms were originally created in the src directory, because I knew nothing. I've been moving them into better locations and this is continuing that work. This particular form shows a report of the members who have selected options on the registration form.
This is the last form still in the src/ directory, so moving this out is a minor milestone in the project.
Steps to reproduce
N/A
Proposed resolution
Because this form is part of the admin interface, it should be moved to the src/Form/Admin directory. It should also have a more descriptive class name, and be added to the build tests.
Remaining tasks
- Move
SimpleConregAdminMemberAddOnsinto src/Form/Admin. - Rename filename and class to "MemberAddOns".
- Update conreg.routing.yml with the new form name.
- In tests/src/Kernel/FormBuildTest.php, copy one of the existing test cases. Update the test function name, the route name, and make sure the default title match the one from the routing file, and the form ID check matches the form ID.
- Verify new test passes.
User interface changes
None.
API changes
None.
Data model changes
None.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | Screenshot from 2026-02-04 17-36-25.png | 361.55 KB | sourav_paul |
Issue fork conreg-3571408
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
sourav_paulworking on this
Comment #4
sourav_paulMoved form into admin & created test.
SS:

Thanks...
Comment #5
lostcarpark commentedI have reviewed the changes, and carried out a manual test. It all looks good.
All the tests are passing, and PHPCS validates.
Moving to RTBC.
Comment #7
lostcarpark commentedMerged successfully.
Thanks for your effort on this. It's small but important step on the way to cleaning up the module.