function flag_rules_data_type::load in Flag 6.2
Same name and namespace in other branches
- 6 includes/flag.rules.inc \flag_rules_data_type::load()
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
- includes/
flag.rules.inc, line 37 - Rules integration for the Flag module.
Class
- flag_rules_data_type
- Defines the flag rule data type.
Code
function load($name) {
return flag_get_flag($name);
}