You are here

function views_handler_argument::get_title in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 6.2 handlers/views_handler_argument.inc \views_handler_argument::get_title()
  2. 7.3 handlers/views_handler_argument.inc \views_handler_argument::get_title()

Called by the view object to get the title. This may be set by a validator so we don't necessarily call through to title().

File

handlers/views_handler_argument.inc, line 702

Class

views_handler_argument
Base class for arguments.

Code

function get_title() {
  if (isset($this->validated_title)) {
    return $this->validated_title;
  }
  else {
    return $this
      ->title();
  }
}