You are here

function views_handler_field_heartbeat_buttons::render in Heartbeat 7

Render the field.

Parameters

array $values: The values retrieved from the database.

Overrides views_handler_field::render

File

views/views_handler_field_heartbeat_buttons.inc, line 23

Class

views_handler_field_heartbeat_buttons
Field handler to present message buttons for the activity.

Code

function render($values) {
  $uaid = $this
    ->get_value($values, 'uaid');
  $heartbeatActivity = heartbeat_activity_load($uaid);

  //ctools_include('modal');

  //ctools_include('ajax');
  return $this
    ->render_buttons($heartbeatActivity);
}