function views_handler_field_node_path::render
3.x views_handler_field_node_path.inc | views_handler_field_node_path::render($values) |
2.x views_handler_field_node_path.inc | views_handler_field_node_path::render($values) |
Render the field.
Parameters
$values: The values retrieved from the database.
Overrides views_handler_field::render
File
- modules/
node/ views_handler_field_node_path.inc, line 43 - Handler for node path field.
Class
- views_handler_field_node_path
- Field handler to present the path to the node.
Code
function render($values) {
$nid = $this->get_value($values, 'nid');
return url("node/$nid", array('absolute' => $this->options['absolute']));
}