function node_export_token_values in Node export 6.3
Same name and namespace in other branches
- 6.2 node_export.module \node_export_token_values()
Implementation of hook_token_values().
File
- ./
node_export.pages.inc, line 16 - The Node export pages file.
Code
function node_export_token_values($type, $object = NULL, $options = array()) {
if ($type == 'Node export filename') {
$tokens['nid-list'] = $object['list'];
$tokens['node-count'] = $object['count'];
$tokens['timestamp'] = $object['time'];
$tokens['format'] = $object['format'];
return $tokens;
}
}