function diff_token_info in Diff 7.3
Implements hook_token_info().
File
- ./
diff.tokens.inc, line 11 - Builds placeholder replacement tokens for diff-related data.
Code
function diff_token_info() {
$node['diff'] = array(
'name' => t('Latest differences'),
'description' => t('The differences between the current revision and the previous revision of this node.'),
);
$node['diff-markdown'] = array(
'name' => t('Latest differences (marked down)'),
'description' => t('The differences between the current revision and the previous revision of this node, but with a marked-down form of each revision used for comparison.'),
);
return array(
'tokens' => array(
'node' => $node,
),
);
}