function rules_data_type_community_tag::load in Community Tags 6.2
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
- community_tags_rules/
community_tags_rules.rules.inc, line 64 - community_tags_rules.rules.inc
Class
- rules_data_type_community_tag
- Defines the rules node data type.
Code
function load($identifier) {
return _community_tags_get_tag($identifier['nid'], $identifier['tid'], $identifier['uid']);
}