You are here

function rules_data_type_community_tag::get_identifier in Community Tags 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

community_tags_rules/community_tags_rules.rules.inc, line 68
community_tags_rules.rules.inc

Class

rules_data_type_community_tag
Defines the rules node data type.

Code

function get_identifier() {
  $ctag =& $this
    ->get();
  return array(
    'nid' => $ctag->nid,
    'tid' => $ctag->tid,
    'uid' => $ctag->uid,
  );
}