You are here

public function views_handler_argument_term_node_tid_depth_join::title in Views (for Drupal 7) 7.3

Get the title this argument will assign the view, given the argument.

This usually needs to be overridden to provide a proper title.

Overrides views_handler_argument::title

File

modules/taxonomy/views_handler_argument_term_node_tid_depth_join.inc, line 199
Definition of views_handler_argument_term_node_tid_depth_join.

Class

views_handler_argument_term_node_tid_depth_join
Argument handler for taxonomy terms with depth.

Code

public function title() {
  $term = taxonomy_term_load($this->argument);
  if (!empty($term)) {
    return check_plain($term->name);
  }
  return t('No name');
}