function user_register_notify_token_info in User registration notification 7
Implements hook_token_info().
File
- ./
user_register_notify.tokens.inc, line 11 - Builds placeholder replacement tokens for user-related data.
Code
function user_register_notify_token_info() {
$user = array();
$user['user-register-notify-og-groups'] = array(
'name' => t('User registration notify - Organic groups'),
'description' => t('The OG role names the user account is a member of as comma separated list.'),
'needs-data' => 'user',
);
return array(
'tokens' => array(
'user' => $user,
),
);
}