function Type::title

Override the behavior of title(). Get the user friendly version of the node type.

Overrides String::title

File

drupal/core/modules/node/lib/Drupal/node/Plugin/views/argument/Type.php, line 32
Definition of Drupal\node\Plugin\views\argument\Type.

Class

Type
Argument handler to accept a node type.

Namespace

Drupal\node\Plugin\views\argument

Code

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