function rules_data_type_node::load in Rules 6
Loads the data identified with an identifier as returned by get_identifier(). Just return the data or FALSE if loading the data failed.
Implement it, if your data type is identifiable.
Overrides rules_data_type::load
File
- rules/
modules/ node.rules.inc, line 372 - rules integration for the node module
Class
- rules_data_type_node
- Defines the node type
Code
function load($nid) {
return node_load($nid);
}