function rules_action_load_node_upgrade

File

includes/rules.upgrade.inc, line 474

Code

function rules_action_load_node_upgrade($element, $target) {
    $target->settings['type'] = 'node';
    rules_upgrade_element_parameter_settings($element, $target, 'nid', 'id');
    rules_upgrade_element_parameter_settings($element, $target, 'vid', 'revision_id');
    rules_upgrade_element_variable_settings($element, $target, 'node_loaded', 'entity_fetched');
}