1 views_handler_field_file_link_edit.inc views_handler_field_file_link_edit::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_link_edit.inc, line 33
Definition of views_handler_field_file_link_edit.

Class

views_handler_field_file_link_edit
Field handler to present a link to manage a file.

Code

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