public function Type::summaryName in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/node/src/Plugin/views/argument/Type.php \Drupal\node\Plugin\views\argument\Type::summaryName()
Override the behavior of summaryName(). Get the user friendly version of the node type.
Overrides StringArgument::summaryName
File
- core/
modules/ node/ src/ Plugin/ views/ argument/ Type.php, line 63 - Contains \Drupal\node\Plugin\views\argument\Type.
Class
- Type
- Argument handler to accept a node type.
Namespace
Drupal\node\Plugin\views\argumentCode
public function summaryName($data) {
return $this
->node_type($data->{$this->name_alias});
}