function views_handler_field_system_info_scripts::add_self_tokens in Views System 6.3
Same name and namespace in other branches
- 6.2 views/handlers/views_handler_field_system_info_scripts.inc \views_handler_field_system_info_scripts::add_self_tokens()
- 7.3 views/handlers/views_handler_field_system_info_scripts.inc \views_handler_field_system_info_scripts::add_self_tokens()
File
- views/
handlers/ views_handler_field_system_info_scripts.inc, line 47 - Views field handler for the views_system module.
Class
- views_handler_field_system_info_scripts
- Provides display options and renders the scripts field of the system item.
Code
function add_self_tokens(&$tokens, $item) {
$tokens['[' . $this->options['id'] . '-script' . ']'] = $item['script'];
}