You are here

function views_handler_field_system_info_regions::document_self_tokens in Views System 7.3

Same name and namespace in other branches
  1. 6.3 views/handlers/views_handler_field_system_info_regions.inc \views_handler_field_system_info_regions::document_self_tokens()
  2. 6.2 views/handlers/views_handler_field_system_info_regions.inc \views_handler_field_system_info_regions::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()

File

views/handlers/views_handler_field_system_info_regions.inc, line 67
Views field handler for the views_system module.

Class

views_handler_field_system_info_regions
Provides display options and renders the regions field of the system item.

Code

function document_self_tokens(&$tokens) {
  $tokens['[' . $this->options['id'] . '-human_name' . ']'] = t('The human name of the region.');
  $tokens['[' . $this->options['id'] . '-machine_name' . ']'] = t('The machine name of the region.');
}