You are here

public function Notifications_Message_Template::token_list in Notifications 7

Declare all tokens used for this template

Overrides Messaging_Template::token_list

File

./notifications.template.inc, line 142
Drupal Notifications Framework - Templates

Class

Notifications_Message_Template
Message template. This should be able to produce a full message by itself

Code

public function token_list() {

  // Don't forget parent tokens
  $tokens = parent::token_list();
  $tokens[] = 'user:unsubscribe-url';
  $tokens[] = 'user:name';
  return $tokens;
}