You are here

function rules_data_type_taxonomy_term::get_identifier in Rules 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

rules/modules/taxonomy.rules.inc, line 258
Rules integration for the taxonomy module.

Class

rules_data_type_taxonomy_term
Defines the taxonomy term data type.

Code

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