function views_plugin_row_heartbeat_view::init in Heartbeat 7
Same name and namespace in other branches
- 6.3 views/plugins/views_plugin_row_heartbeat_view.inc \views_plugin_row_heartbeat_view::init()
Implements init(&$view, &$display, $options).
Overrides views_plugin_row::init
File
- views/
views_plugin_row_heartbeat_view.inc, line 24 - Contains the heartbeat activity view row style plugin.
Class
- views_plugin_row_heartbeat_view
- 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'];
}
}