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

Render the field.

Parameters

$values: The values retrieved from the database.

Overrides views_handler_field_file::render

File

core/modules/file/views/views_handler_field_file_type.inc, line 43
Definition of views_handler_field_file_type.

Class

views_handler_field_file_type
Field handler to translate a file type into its readable form.

Code

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