You are here

function nodesymlinks_reconstruct_tokens in NodeSymlinks 6

Generates tokens in right order - needed when merging tokens from different sources.

Parameters

array &$tokens:

1 call to nodesymlinks_reconstruct_tokens()
nodesymlinks_pathauto_create_alias in ./nodesymlinks.pathauto.inc
Function for creating aliases using Pathauto API.

File

./nodesymlinks.pathauto.inc, line 77

Code

function nodesymlinks_reconstruct_tokens(&$tokens) {
  unset($tokens['tokens']);
  $tokens['tokens'] = array_map('_nodesymlinks_key2token', array_keys($tokens['values']));
}