function views_handler_field_term_node_tid::document_self_tokens in Views (for Drupal 7) 6.2
Same name and namespace in other branches
- 6.3 modules/taxonomy/views_handler_field_term_node_tid.inc \views_handler_field_term_node_tid::document_self_tokens()
- 7.3 modules/taxonomy/views_handler_field_term_node_tid.inc \views_handler_field_term_node_tid::document_self_tokens()
Document any special tokens this field might use for itself.
Overrides views_handler_field::document_self_tokens
See also
add_self_tokens() for details.
File
- modules/
taxonomy/ views_handler_field_term_node_tid.inc, line 105
Class
- views_handler_field_term_node_tid
- Field handler for terms.
Code
function document_self_tokens(&$tokens) {
$tokens['[' . $this->options['id'] . '-tid' . ']'] = t('The taxonomy term ID for the term.');
$tokens['[' . $this->options['id'] . '-name' . ']'] = t('The taxonomy term name for the term.');
$tokens['[' . $this->options['id'] . '-vid' . ']'] = t('The vocabulary ID for the vocabulary the term belongs to.');
$tokens['[' . $this->options['id'] . '-vocabulary' . ']'] = t('The name for the vocabulary the term belongs to.');
}