public function views_handler_field_node_link::render in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.3 modules/node/views_handler_field_node_link.inc \views_handler_field_node_link::render()
- 6.2 modules/node/views_handler_field_node_link.inc \views_handler_field_node_link::render()
Render the field.
Parameters
array $values: The values retrieved from the database.
Overrides views_handler_field::render
File
- modules/
node/ views_handler_field_node_link.inc, line 43 - Definition of views_handler_field_node_link.
Class
- views_handler_field_node_link
- Field handler to present a link to the node.
Code
public function render($values) {
if ($entity = $this
->get_value($values)) {
return $this
->render_link($entity, $values);
}
}