You are here

jplayer.views.inc in jPlayer 6

Same filename and directory in other branches
  1. 7.2 includes/jplayer.views.inc

Views module hooks for the jPlayer module.

File

includes/jplayer.views.inc
View source
<?php

/**
 * @file
 * Views module hooks for the jPlayer module.
 */

/**
 * Implementation of hook_views_plugins().
 */
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',
      ),
    ),
  );
}

Functions

Namesort descending Description
jplayer_views_plugins Implementation of hook_views_plugins().