function node_export_token_values in Node export 6.2
Same name and namespace in other branches
- 6.3 node_export.pages.inc \node_export_token_values()
Implementation of hook_token_values().
File
- ./
node_export.module, line 219 - The Node Export module.
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'];
return $tokens;
}
}