Add token for invitation link url

Created on 13 January 2024, about 1 year ago

Problem/Motivation

I want to add the invitation link to another email.

Proposed resolution

Provide a token for it.

📌 Task
Status

Closed: works as designed

Version

4.0

Component

Code

Created by

🇩🇪Germany geek-merlin Freiburg, Germany

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @geek-merlin
  • Status changed to Closed: works as designed about 1 year ago
  • 🇩🇪Germany geek-merlin Freiburg, Germany

    Ah, the code is not in a ginvite.token.inc, but in ginvite.module.

      $tokens['register_link'] = [
        'name' => t('Register Link'),
        'description' => t('Url to register page with prefilled email address.'),
      ];
      $tokens['my_invitations_link'] = [
        'name' => t('My Invitations Link'),
        'description' => t('Url to user list of invitations.'),
      ];
    
    
Production build 0.71.5 2024