You are here

function revisioning_events_argument_target_revision_author in Revisioning 7

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

Target revision author argument handler.

File

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

Code

function revisioning_events_argument_target_revision_author($arguments, $name, $info) {
  global $user;
  $node = $arguments['node'];
  return user_load($node->revision_uid);
}