function views_handler_field_node_path::render

Same name in other branches
  1. 7.x-3.x modules/node/views_handler_field_node_path.inc \views_handler_field_node_path::render()

Overrides views_handler_field::render

File

modules/node/views_handler_field_node_path.inc, line 37

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'],
    ));
}