- Issue created by @lostcarpark
- 🇮🇳India nidhi27
Hii,
I have created MR !10 for this feature request. Let me know if any changes are needed.
Thanks! - 🇮🇪Ireland lostcarpark
Excellent work. I've just flagged some minor issues that need correcting.
The body of the "Thank you" page cannot currently be changed. It would be useful to allow custom text here.
Fill out a "Verify email" form, and submit. The Thank You page will be displayed. This text cannot be changed.
/config/schema/verify_email.schema.yml
, add a new string field called thank_you_body
, above redirect_path
src/Entity/VerifyEmail.php
add thank_you_body
to config_export
, add a property, and a getThankYouBody
public method (it should default to the current text from the Thank You page controller)src/Form/VerifyEmailAddEditForm.php
, add a textarea field for thank_you_body
src/Controller/ThankYou.php
, use the text from the entity config in the markup for the page.tests/src/Functional/VerifyEmailSetupTest.php
, add an assertion to check that the Thank You body field is presenttests/src/Functional/VerifyEmailRoutingTest.php
, include a custom thank you message in the form setup, and verify that it is present on the Thank You page in testVerifyEmailForm
Add the Thank You Body field.
Change to entity config form to include Thank You body field.
N/A
Addition of thank_you_body
to schema.
Active
1.0
Code
Hii,
I have created MR !10 for this feature request. Let me know if any changes are needed.
Thanks!
Excellent work. I've just flagged some minor issues that need correcting.