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