You are here

function rules_action_node_load_author in Rules 6

Loads the content author

Related topics

File

rules/modules/node.rules.inc, line 266
rules integration for the node module

Code

function rules_action_node_load_author($node) {
  return array(
    'author' => user_load($node->uid),
  );
}