1 views_handler_field_file.inc views_handler_field_file::render($values)

Render the field.

Parameters

$values: The values retrieved from the database.

Overrides views_handler_field::render

File

core/modules/file/views/views_handler_field_file.inc, line 77
Definition of views_handler_field_file.

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);
}