function rules_action_load_node

Loads a node.

File

tests/rules_test.test.inc, line 47

Code

function rules_action_load_node($nid, $vid = NULL) {
    return array(
        'node_loaded' => node_load($nid, $vid ? $vid : NULL),
    );
}