function views_handler_argument::get_title

Same name in other branches
  1. 6.x-3.x 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().

1 call to views_handler_argument::get_title()
views_handler_argument::exception_title in handlers/views_handler_argument.inc
Work out which title to use.

File

handlers/views_handler_argument.inc, line 1040

Class

views_handler_argument
Base class for arguments.

Code

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