function computed_field_token_list in Computed Field 6
Same name and namespace in other branches
- 5 computed_field.module \computed_field_token_list()
Implementation of hook_token_list()
File
- ./
computed_field.module, line 431
Code
function computed_field_token_list($type = 'all') {
if ($type == 'field' || $type == 'all') {
$tokens = array();
$tokens['computed_field']['raw'] = t("Raw, unfiltered text.");
$tokens['computed_field']['formatted'] = t("Formatted and filtered text.");
return $tokens;
}
}