function token_entity_info
Related topics
1 call to token_entity_info()
- token_example_example_form in token_example/
token_example.module - Form builder; display lists of supported token entities and text to tokenize.
File
-
token_example/
token_example.module, line 133
Code
function token_entity_info() {
$info['node'] = array(
'label' => t('Content'),
);
$info['comment'] = array(
'label' => t('Comment'),
);
$info['user'] = array(
'label' => t('User'),
);
return $info;
}