You are here

function weight_views_plugins in Weight 7

Same name and namespace in other branches
  1. 6 views/weight.views.inc \weight_views_plugins()

Implements hook_views_plugins();

File

./weight.views.inc, line 70
Views2 support for Weight module.

Code

function weight_views_plugins() {
  return array(
    'style' => array(
      'weight' => array(
        'title' => t('Weight Changer'),
        'help' => t('Displays rows in a table which allows weight change.  Be sure to add the Weight field and Sort by Weight.'),
        'handler' => 'views_plugin_style_table',
        'parent' => 'table',
        'path' => drupal_get_path('module', 'weight'),
        'theme' => 'weight_view_weight',
        'uses row plugin' => FALSE,
        'uses fields' => TRUE,
        'uses options' => TRUE,
        'type' => 'normal',
      ),
    ),
  );
}