You are here

function commerce_billy_pdf_field_handler::render in Commerce Billy 7

Render the field.

Parameters

array $values: The values retrieved from the database.

Overrides views_handler_field::render

File

modules/commerce_billy_pdf/includes/views/handlers/commerce_billy_pdf_field_handler.inc, line 33
Views handler for pdf link.

Class

commerce_billy_pdf_field_handler
Simple entity generic views handler for a invoice PDF link.

Code

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