You are here

function rules_data_type_taxonomy_vocab::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 272
Rules integration for the taxonomy module.

Class

rules_data_type_taxonomy_vocab
Defines the taxonomy vocab data type.

Code

function get_identifier() {
  $vocab =& $this
    ->get();
  return $vocab->vid;
}