function feeds_token_info in Feeds 8.2
Same name and namespace in other branches
- 7.2 feeds.tokens.inc \feeds_token_info()
Implements hook_token_info().
File
- ./
feeds.tokens.inc, line 11 - Builds placeholder replacement tokens for feed-related data.
Code
function feeds_token_info() {
// @todo This token could be for any entity type.
$info['tokens']['node']['feed-source'] = array(
'name' => t('Feed source'),
'description' => t('The node the feed item was sourced from.'),
'type' => 'node',
);
return $info;
}