You are here

function rules_events_argument_node_unchanged in Rules 6

Gets the node object, that doesn't contain the modified changes

Related topics

1 call to rules_events_argument_node_unchanged()
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_unchanged'
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 92
rules integration for the node module

Code

function rules_events_argument_node_unchanged($node) {
  return $node->nid ? node_load($node->nid) : $node;
}