You are here

function jplayer_views_plugins in jPlayer 6

Same name and namespace in other branches
  1. 7.2 includes/jplayer.views.inc \jplayer_views_plugins()

Implementation of hook_views_plugins().

File

includes/jplayer.views.inc, line 11
Views module hooks for the jPlayer module.

Code

function jplayer_views_plugins() {
  $path = drupal_get_path('module', 'jplayer');
  return array(
    'style' => array(
      'jplayer' => array(
        'title' => t('jPlayer'),
        'help' => t('Display audio files from different nodes as a jPlayer playlist.'),
        'handler' => 'jplayer_style_plugin',
        'path' => "{$path}/includes",
        'uses row plugin' => TRUE,
        'uses options' => TRUE,
        'uses grouping' => FALSE,
        'type' => 'normal',
      ),
    ),
  );
}