function subscriptions_taxonomy_token_info in Subscriptions 7
Same name and namespace in other branches
- 2.0.x subscriptions_taxonomy/subscriptions_taxonomy.tokens.inc \subscriptions_taxonomy_token_info()
Implements hook_token_info().
Return value
array
File
- ./
subscriptions_taxonomy.tokens.inc, line 13 - Token callbacks for the subscriptions_taxonomy module.
Code
function subscriptions_taxonomy_token_info() {
$subs['category'] = array(
'name' => t("Category"),
'description' => t("The category (taxonomy term), if this notification was triggered by a %Category subscription.", array(
'%Category' => t('Category'),
)),
'type' => 'term',
);
return array(
'types' => array(),
'tokens' => array(
'subs' => $subs,
),
);
}