You are here

public function yashare_handler_field_yashare::render in Yandex.Share 7.2

Render the field.

Parameters

array $values: The values retrieved from the database.

Overrides views_handler_field::render

File

views/yashare_handler_field_yashare.inc, line 8
Implements the field handler class.

Class

yashare_handler_field_yashare
@file Implements the field handler class.

Code

public function render($values) {
  $output = '';
  if ($entity = $this
    ->get_value($values)) {
    $output = _yashare_widget_view($entity, $this->entity_type);
  }
  return $output;
}