You are here

function heartbeat_views_views_pre_render in Heartbeat 6.4

Same name and namespace in other branches
  1. 6.3 views/heartbeat_views.module \heartbeat_views_views_pre_render()

Implementation of hook_views_pre_render().

File

views/heartbeat_views.module, line 80

Code

function heartbeat_views_views_pre_render(&$view) {
  if ($view->base_table == 'heartbeat_activity' && !empty($view->result) && empty($view->rendered)) {
    _heartbeat_render_view($view);
    $view->rendered = TRUE;
  }
}