You are here

function views_plugin_row_heartbeat_rss::init in Heartbeat 7

Overrides views_plugin_row::init

File

views/views_plugin_row_heartbeat_rss.inc, line 21
Contains the heartbeat activity view row style plugin.

Class

views_plugin_row_heartbeat_rss
Plugin which performs a heartbeat_activity_view on the resulting object.

Code

function init(&$view, &$display, $options = NULL) {
  parent::init($view, $display, $options);

  // Handle existing views which has used build_mode instead of view_mode.
  if (isset($this->options['build_mode'])) {
    $this->options['view_mode'] = $this->options['build_mode'];
  }
}