function data_node_remove_path in Data 6
Generate the path for a remove link for an item/node pair.
2 calls to data_node_remove_path()
- data_node_render_remove_link in data_node/
data_node.module - Render a remove link for a given item.
- theme_data_node_label in data_node/
data_node.theme.inc - Theme a label for an existing item-node relationship.
File
- data_node/
data_node.module, line 386 - Hooks and API functions for Data Node module.
Code
function data_node_remove_path($table, $id, $nid) {
$token = drupal_get_token(_data_node_hash($table, $id, $nid));
$table_name = $table
->get('name');
return "data-node/remove/{$table_name}/{$id}/{$nid}/{$token}";
}