function workbench_email_token_info in Workbench Email 7.3
Implements hook_token_info().
File
- ./
workbench_email.module, line 1132 - Code for the Workbench Email Module.
Code
function workbench_email_token_info() {
$info = array();
// Workbench email tokens.
$info['types']['workbench-email'] = array(
'name' => t('Workbench email'),
'description' => t('Tokens related to Workbench Email.'),
);
$info['tokens']['workbench-email']['name'] = array(
'name' => t('Username being emailed'),
'description' => t('The username of the user being emailed.'),
);
$info['tokens']['workbench-email']['email-transition'] = array(
'name' => t('Email transition state'),
'description' => t('The transition state of the node (eg: Draft to Needs Review).'),
);
return $info;
}