You are here

function views_handler_field_system_info_stylesheets::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_stylesheets.inc \views_handler_field_system_info_stylesheets::document_self_tokens()
  2. 6.2 views/handlers/views_handler_field_system_info_stylesheets.inc \views_handler_field_system_info_stylesheets::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_stylesheets.inc, line 69
Views field handler for the views_system module.

Class

views_handler_field_system_info_stylesheets
Provides display options and renders the stylesheets field of the system item.

Code

function document_self_tokens(&$tokens) {
  $tokens['[' . $this->options['id'] . '-filename' . ']'] = t('The filename of the CSS file.');
  $tokens['[' . $this->options['id'] . '-media' . ']'] = t('The media type of the CSS file.');
}