You are here

function revisioning_events_argument_global_user in Revisioning 8

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

Get global user argument.

1 string reference to 'revisioning_events_argument_global_user'
_revisioning_rules_event_variables in ./revisioning.rules.inc
Returns event variables suitable for use with a node revision event.

File

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

Code

function revisioning_events_argument_global_user($arguments, $name, $info) {
  global $user;
  return user_load($user->uid);
}