You are here

public function SarniaViewsHandlerArgument::title in Sarnia 7

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

1 method overrides SarniaViewsHandlerArgument::title()
SarniaViewsHandlerArgumentId::title in handlers/handler_argument_id.inc
If the name solr property is not the id, load the sarnia entity and extract the name property.

File

handlers/handler_argument.inc, line 32

Class

SarniaViewsHandlerArgument
Really basic argument handler for filtering Solr documents in Views.

Code

public function title() {
  return check_plain($this->argument);
}