You are here

function drupagram_views_handler_field_profile_image::render in Drupagram 7

Same name and namespace in other branches
  1. 6 views/drupagram_views_handler_field_profile_image.inc \drupagram_views_handler_field_profile_image::render()

Render the field.

Parameters

array $values: The values retrieved from the database.

Overrides views_handler_field::render

File

./drupagram_views_field_handlers.inc, line 74
Drupagram views field handlers.

Class

drupagram_views_handler_field_profile_image
Field handler to render the image as an image.

Code

function render($values) {
  $value = $values->{$this->field_alias};
  return theme('image', array(
    'path' => $value,
  ));
}