function views_handler_field_relation_link::render in Relation 7
Same name and namespace in other branches
- 8.2 views/views_handler_field_relation_link.inc \views_handler_field_relation_link::render()
- 8 views/views_handler_field_relation_link.inc \views_handler_field_relation_link::render()
Render the field.
Parameters
array $values: The values retrieved from the database.
Overrides views_handler_field::render
File
- views/
views_handler_field_relation_link.inc, line 34 - Definition of views_handler_field_relation_link.
Class
- views_handler_field_relation_link
- Field handler to present a link to the relation.
Code
function render($values) {
if ($entity = $this
->get_value($values)) {
return $this
->render_link($entity, $values);
}
}