function rules_events_argument_node_author in Rules 6
Gets the author's account of a node
Related topics
2 calls to rules_events_argument_node_author()
- rules_events_argument_comment_node_author in rules/
modules/ comment.rules.inc - Gets the comment's node's author
- rules_events_argument_unchanged_node_author in rules/
modules/ node.rules.inc - Gets the author of the unchanged node object
1 string reference to 'rules_events_argument_node_author'
- rules_events_node_arguments in rules/
modules/ node.rules.inc - Returns some arguments suitable for using it with a node
File
- rules/
modules/ node.rules.inc, line 85 - rules integration for the node module
Code
function rules_events_argument_node_author($node) {
return user_load(array(
'uid' => $node->uid,
));
}