Add token for invitation link url

Created on 13 January 2024, 6 months 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 6 months 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.69.0 2024