How to create custom token to be used in default mail message template in Drupal 8

Add Favorites Contact Author
no-image-390738

Sometimes we need to do similar coding in different places, such as for account settings email templates (Welcome email template, Forget password email template, from UI to get the same results. In this scenario, it’s always suggested to create a custom token and use that in different types of email templates (account setting email templates) from Drupal UI in [token:type] format.


Category
No Feedback Received