function SarniaViewsHandlerArgumentId::ui_name in Sarnia 7
Return a string representing this handler's name in the UI.
Override SarniaViewsHandlerArgument::ui_name() with Views' default behavior.
Overrides SarniaViewsHandlerArgument::ui_name
See also
File
- handlers/
handler_argument_id.inc, line 87 - Views argument handler for Solr document Ids.
Class
- SarniaViewsHandlerArgumentId
- @file Views argument handler for Solr document Ids.
Code
function ui_name($short = FALSE) {
if (!empty($this->options['ui_name'])) {
$title = check_plain($this->options['ui_name']);
return $title;
}
$title = $short && isset($this->definition['title short']) ? $this->definition['title short'] : $this->definition['title'];
return t('!group: !title', array(
'!group' => $this->definition['group'],
'!title' => $title,
));
}