function rules_data_type_taxonomy_term::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/ taxonomy.rules.inc, line 254 - Rules integration for the taxonomy module.
Class
- rules_data_type_taxonomy_term
- Defines the taxonomy term data type.
Code
function load($tid) {
return taxonomy_get_term($tid);
}