function views_json_query_handler_field::ui_name in Views JSON Query 7
UI name.
Overrides views_handler_field::ui_name
File
- handlers/
views_json_query_handler_field.inc, line 71 - Base field handler for views_json_query.
Class
- views_json_query_handler_field
- @file Base field handler for views_json_query.
Code
function ui_name($short = FALSE) {
if (!empty($this->options['ui_name'])) {
$title = check_plain($this->options['ui_name']);
return $title;
}
$title = $this->definition['title'];
if ($short && isset($this->definition['title short'])) {
$title = $this->definition['title short'];
}
return t('!key: !title', array(
'!key' => $this->options['key'],
'!title' => $title,
));
}