You are here

function editableviews_handler_field_entity_metadata_property::render in Editable Views 7

Render the field.

Override this as otherwise we'd just output the entity ID all the time.

Parameters

$values: The values retrieved from the database.

Overrides views_handler_field::render

File

handlers/editableviews_handler_field_entity_metadata_property.inc, line 136

Class

editableviews_handler_field_entity_metadata_property
Field handler for editing an entity metadata property.

Code

function render($values) {

  // Don't return anything. We don't know the entity we're on at this point.
  // TODO: split up insert_form_elements() to do all the joining up of data
  // before parent::render_fields() is called, and set the entity on the
  // handlers. This would allow us to output the value of the property here.
  return '';
}