You are here

function rules_data_type_mail::get_identifier in Mail Logger 6

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

./mail_logger.rules.inc, line 100
Rules integration with Mail Logger.

Class

rules_data_type_mail
Defines the rules mail data type.

Code

function get_identifier() {
  $term =& $this
    ->get();
  return $term->mlid;
}