Index: token.tokens.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/token/token.tokens.inc,v retrieving revision 1.2 diff -u -p -r1.2 token.tokens.inc --- token.tokens.inc 9 Mar 2010 18:57:05 -0000 1.2 +++ token.tokens.inc 7 Jun 2010 16:02:43 -0000 @@ -23,6 +23,11 @@ function token_token_info() { 'description' => t("Source node for this current node's translation set."), 'type' => 'node', ); + $info['tokens']['node']['log'] = array( + 'name' => t("Node's log message"), + 'description' => t("Revision log message."), + 'type' => 'node', + ); return $info; } @@ -46,6 +51,9 @@ function token_tokens($type, $tokens, ar $replacements[$original] = $sanitize ? filter_xss($title) : $title; } break; + case 'log': + $replacements[$original] = $sanitize ? filter_xss($node->log) : $node->log; + break; } }