Hot answers tagged

2

Bingo! Found the Solution myself: function custom_module_mail_alter(&$message) { if (!empty($message['id']) && $message['id'] == 'user_password_reset') { $token_service = \Drupal::token(); $language_interface = \Drupal::languageManager()->getCurrentLanguage(); $account = $message['params']['account']; ...


Only top voted, non community-wiki answers of a minimum length are eligible