You are here

function commerce_line_item_handler_field_edit_quantity::render in Commerce Core 7

Render the field.

Parameters

array $values: The values retrieved from the database.

Overrides views_handler_field::render

File

modules/line_item/includes/views/handlers/commerce_line_item_handler_field_edit_quantity.inc, line 24
Field handler to present a form field to change quantity of a line item. It's a dummy handler, most part of the implementation is done via post render hook.

Class

commerce_line_item_handler_field_edit_quantity
Field handler to present a field to change quantity of a line item.

Code

function render($values) {
  return '<!--form-item-' . $this->options['id'] . '--' . $this->view->row_index . '-->';
}