function privatemsg_rules_data_type_tag::get_identifier in Privatemsg 6.2
Gets the identifier of this data, which can be of every php data type - even an array. Implement it, if your data type is identifiable.
Overrides rules_data_type::get_identifier
File
- privatemsg_rules/
privatemsg_rules.rules.inc, line 141 - Hooks and callback functions for rules.module integration.
Class
- privatemsg_rules_data_type_tag
- Defines the user data type.
Code
function get_identifier() {
$tag = $this
->get();
return $tag->tag_id;
}