You are here

function Type::title in File Entity (fieldable files) 8.2

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

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

Overrides StringArgument::title

File

src/Plugin/views/argument/Type.php, line 25

Class

Type
Argument handler to accept a file type.

Namespace

Drupal\file_entity\Plugin\views\argument

Code

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