You are here

function heartbeat_views_plugins in Heartbeat 6.3

Same name and namespace in other branches
  1. 7 heartbeat.views.inc \heartbeat_views_plugins()

Implementation of hook_views_plugins

File

views/heartbeat_views.views.inc, line 222

Code

function heartbeat_views_plugins() {
  $hb_path = drupal_get_path('module', 'heartbeat');
  return array(
    'module' => 'heartbeat',
    // This just tells our themes are elsewhere.
    'row' => array(
      'heartbeat' => array(
        'title' => t('Heartbeat'),
        'help' => t('Display the heartbeat messages in a heartbeat view.'),
        'handler' => 'views_plugin_row_heartbeat_view',
        'path' => "{$hb_path}/views/plugins",
        'theme' => 'views_view_row_heartbeat',
        'theme file' => 'theme.inc',
        'theme path' => "{$hb_path}/views/theme",
        'uses options' => TRUE,
        'type' => 'normal',
        'help topic' => 'style-heartbeat',
      ),
    ),
  );
}