function views_handler_field_file::render

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

Overrides views_handler_field::render

File

modules/system/views_handler_field_file.inc, line 51

Class

views_handler_field_file
Field handler to provide simple renderer that allows linking to a file.

Code

function render($values) {
    $value = $this->get_value($values);
    return $this->render_link($this->sanitize_value($value), $values);
}