You are here

function twitter_views_handler_field_profile_image::render in Twitter 7.3

Same name and namespace in other branches
  1. 6.5 twitter_views_field_handlers.inc \twitter_views_handler_field_profile_image::render()
  2. 6.2 twitter_views_field_handlers.inc \twitter_views_handler_field_profile_image::render()
  3. 6.3 twitter_views_field_handlers.inc \twitter_views_handler_field_profile_image::render()
  4. 6.4 twitter_views_field_handlers.inc \twitter_views_handler_field_profile_image::render()
  5. 7.6 twitter_views_field_handlers.inc \twitter_views_handler_field_profile_image::render()
  6. 7.4 twitter_views_field_handlers.inc \twitter_views_handler_field_profile_image::render()
  7. 7.5 twitter_views_field_handlers.inc \twitter_views_handler_field_profile_image::render()

Render the field.

Parameters

array $values: The values retrieved from the database.

Overrides views_handler_field::render

File

./twitter_views_field_handlers.inc, line 67
Views handlers for Twitter module.

Class

twitter_views_handler_field_profile_image
Field handler to provide simple renderer that turns a URL into a clickable link.

Code

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