You are here

function draggableviews_views_plugins in DraggableViews 6

Same name and namespace in other branches
  1. 6.3 views/draggableviews.views.inc \draggableviews_views_plugins()
  2. 6.2 draggableviews.views.inc \draggableviews_views_plugins()
  3. 7 views/draggableviews.views.inc \draggableviews_views_plugins()

@file Derives the view style plugin

File

./draggableviews.views.inc, line 7
Derives the view style plugin

Code

function draggableviews_views_plugins() {
  return array(
    'module' => 'draggableviews',
    // This just tells our themes are elsewhere.
    'style' => array(
      'draggabletable' => array(
        'title' => t('Draggable Table'),
        'help' => t('Displays rows in a table and makes them draggable.'),
        'handler' => 'draggableviews_plugin_style_draggabletable',
        'theme' => 'draggableviews_view_draggabletable',
        'theme file' => 'draggableviews_theme.inc',
        'uses row plugin' => TRUE,
        'uses options' => TRUE,
        'uses fields' => TRUE,
        'type' => 'normal',
        'parent' => 'table',
      ),
    ),
  );
}