Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm not able to get to
email address configured in email handler in the mail body (twig enabled) with {{ webform.handlers.e_mail.settings.to_mail }}
(no output) or {{ webform_token('[webform:handler:e_mail:settings:to_mail]', webform_submission, [], options) }}
(token hasn't been replaced). The structure is based on my observation of webform
object using xDebug. How can I use this variable?
Comments
Comment #2
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedHandler settings are not exposed via tokens. This feature could create a security risk because handle configuration may contain API keys
Comment #3
milos.kroulik CreditAttribution: milos.kroulik commentedThanks for the answer. But as I mentioned, it doesn't work as a twig variable either. I suppose that's also by design...