function weight_views_plugins in Weight 6
Same name and namespace in other branches
- 7 weight.views.inc \weight_views_plugins()
Implementation of hook_views_plugins();
File
- views/
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' => 'weight_plugin_style',
'parent' => 'table',
'path' => drupal_get_path('module', 'weight') . '/views',
'uses row plugin' => FALSE,
'uses fields' => TRUE,
'uses options' => TRUE,
'type' => 'normal',
),
),
);
}