function sheetnode_token_list in Sheetnode 6
Implementation of hook_token_list().
File
- ./
sheetnode.module, line 361
Code
function sheetnode_token_list($type = 'all') {
if ($type == 'all' || $type == 'node') {
return array(
'sheetnode' => array(
'sheetnode-????' => t('Enter a cell reference such as sheetnode-B52, sheetnode-C79, etc.'),
),
);
}
if ($type == 'all' || $type == 'field') {
return array(
'sheetfield' => array(
'????' => t('Enter a cell reference such as sheetnode-B52, sheetnode-C79, etc.'),
),
);
}
}