You are here

public function views_xml_backend_handler_argument::ui_name in Views XML Backend 7

Return a string representing this handler's name in the UI.

Overrides views_handler::ui_name

File

handlers/views_xml_backend_handler_argument.inc, line 51
Contains views_xml_backend_handler_argument.

Class

views_xml_backend_handler_argument
@file Contains views_xml_backend_handler_argument.

Code

public 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('!xpath: !title', array(
    '!xpath' => $this->options['xpath_selector'],
    '!title' => $title,
  ));
}