You are here

function rules_data_type::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.

5 methods override rules_data_type::load()
rules_data_type_comment::load in rules/modules/comment.rules.inc
Loads the data identified with an identifier as returned by get_identifier(). Just return the data or FALSE if loading the data failed.
rules_data_type_node::load in rules/modules/node.rules.inc
Loads the data identified with an identifier as returned by get_identifier(). Just return the data or FALSE if loading the data failed.
rules_data_type_taxonomy_term::load in rules/modules/taxonomy.rules.inc
Loads the data identified with an identifier as returned by get_identifier(). Just return the data or FALSE if loading the data failed.
rules_data_type_taxonomy_vocab::load in rules/modules/taxonomy.rules.inc
Loads the data identified with an identifier as returned by get_identifier(). Just return the data or FALSE if loading the data failed.
rules_data_type_user::load in rules/modules/user.rules.inc
Loads the data identified with an identifier as returned by get_identifier(). Just return the data or FALSE if loading the data failed.

File

rules/rules.data_types.inc, line 143
Defines the data type class

Class

rules_data_type
Base data type class, from which special data types can be derived.

Code

function load($identifier) {
}