Suite: Remove custom code files when the custom code support is unchecked on the crud page generation page. #15558
Description
Resolves #15332
Checklist
- I fully tested it as developer / designer and created unit / integration tests
- I documented it (or no need to document or I will create a separate documentation issue)
- I worked with the design team to get their idea for UI/UX design (or no need to design for this PR)
- I've assigned reviewer, related labels and set a milestone for this PR
How to test it?
Generate an entity with custom code support and then re-generate the entity without the custom code support. All of the extended files should be deleted in this case.