You are here

function nodesymlinks_create_item_path in NodeSymlinks 7

Same name and namespace in other branches
  1. 6 nodesymlinks.inc \nodesymlinks_create_item_path()

Creates and returns item path.

4 calls to nodesymlinks_create_item_path()
nodesymlinks_item_process in ./nodesymlinks.inc
Load item defaults and process item before is saved.
nodesymlinks_item_save in ./nodesymlinks.inc
Save item to database.
nodesymlinks_pathauto_create_alias in ./nodesymlinks.inc
Function for creating aliases using Pathauto API.
_nodesymlinks_nodeapi_validate in ./nodesymlinks.inc
Implements hook_nodeapi() OP: Valide.

File

./nodesymlinks.inc, line 507
Main NodeSymlinks callbacks

Code

function nodesymlinks_create_item_path(&$item, &$node) {
  return 'node/' . $node->nid . '/mid/' . $item['mlid'];
}