You are here

function juicebox_views_plugins in Juicebox HTML5 Responsive Image Galleries 7

Same name and namespace in other branches
  1. 7.2 juicebox.module \juicebox_views_plugins()

Implements hook_views_plugin().

File

./juicebox.views.inc, line 13
Views integration for Juicebox module.

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' => 'juicebox_style_plugin',
    'path' => $path . '/plugins',
    'uses row plugin' => FALSE,
    'uses fields' => TRUE,
    'uses options' => TRUE,
    'uses grouping' => FALSE,
    'type' => 'normal',
  );
  return $plugins;
}