function Type::title in Views (for Drupal 7) 8.3
Override the behavior of title(). Get the user friendly version of the node type.
Overrides String::title
File
- lib/
Views/ node/ Plugin/ views/ argument/ Type.php, line 35 - Definition of Views\node\Plugin\views\argument\Type.
Class
- Type
- Argument handler to accept a node type.
Namespace
Views\node\Plugin\views\argumentCode
function title() {
return $this
->node_type($this->argument);
}