function Type::render in Views (for Drupal 7) 8.3
Render the field.
Parameters
$values: The values retrieved from the database.
Overrides Node::render
File
- lib/
Views/ node/ Plugin/ views/ field/ Type.php, line 56 - Definition of Views\node\Plugin\views\field\Type.
Class
- Type
- Field handler to translate a node type into its readable form.
Namespace
Views\node\Plugin\views\fieldCode
function render($values) {
$value = $this
->get_value($values);
return $this
->render_link($this
->render_name($value, $values), $values);
}