function Type::title
Same name and namespace in other branches
- 9 core/modules/node/src/Plugin/views/argument/Type.php \Drupal\node\Plugin\views\argument\Type::title()
- 10 core/modules/node/src/Plugin/views/argument/Type.php \Drupal\node\Plugin\views\argument\Type::title()
- 11.x core/modules/node/src/Plugin/views/argument/Type.php \Drupal\node\Plugin\views\argument\Type::title()
Override the behavior of title(). Get the user friendly version of the node type.
Overrides StringArgument::title
File
-
core/
modules/ node/ src/ Plugin/ views/ argument/ Type.php, line 66
Class
- Type
- Argument handler to accept a node type.
Namespace
Drupal\node\Plugin\views\argumentCode
public function title() {
return $this->node_type($this->argument);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.