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