You are here

function rules_data_type_node::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/node.rules.inc, line 376
rules integration for the node module

Class

rules_data_type_node
Defines the node type

Code

function get_identifier() {
  $node =& $this
    ->get();
  return $node->nid;
}