You are here

function revisioning_events_argument_target_revision_author in Revisioning 6.3

Same name and namespace in other branches
  1. 6.4 revisioning.rules.inc \revisioning_events_argument_target_revision_author()
  2. 7 revisioning.rules.inc \revisioning_events_argument_target_revision_author()

Target revision author argument handler.

1 string reference to 'revisioning_events_argument_target_revision_author'
_revisioning_rules_event_arguments in ./revisioning.rules.inc
Returns arguments suitable for using it with a node.

File

./revisioning.rules.inc, line 178
Rules integration for Revisioning module.

Code

function revisioning_events_argument_target_revision_author($node) {
  $user = user_load($node->revision_uid);
  return $user;
}