You are here

function _data_node_hash in Data 6

Create a simple hash of a table name, an id and a nid.

4 calls to _data_node_hash()
data_node_add_page in data_node/data_node.module
Page callback for adding.
data_node_add_path in data_node/data_node.module
Generate the path for an add link for an item/node pair.
data_node_remove_page in data_node/data_node.module
Page callback for removing.
data_node_remove_path in data_node/data_node.module
Generate the path for a remove link for an item/node pair.

File

data_node/data_node.module, line 368
Hooks and API functions for Data Node module.

Code

function _data_node_hash($table, $id, $nid) {
  return $table
    ->get('name') . $id . $nid;
}