You are here

function juicebox_views_plugins in Juicebox HTML5 Responsive Image Galleries 7.2

Same name and namespace in other branches
  1. 7 juicebox.views.inc \juicebox_views_plugins()

Implements hook_views_plugin().

File

./juicebox.module, line 109
Provides Drupal integration with the Juicebox library. This file contains the relevant Drupal hook implementations and callbacks.

Code

function juicebox_views_plugins() {
  $path = drupal_get_path('module', 'juicebox');
  $plugins['style']['juicebox'] = array(
    'title' => t('Juicebox Gallery'),
    'help' => t('Display rows as a Juicebox Gallery.'),
    'handler' => 'JuiceboxFormatterViewsStyle',
    'path' => $path . '/plugins',
    'uses row plugin' => FALSE,
    'uses fields' => TRUE,
    'uses options' => TRUE,
    'uses grouping' => FALSE,
    'type' => 'normal',
  );
  return $plugins;
}