function ds_views_plugins in Display Suite 6
Same name and namespace in other branches
- 6.3 views/ds.views.inc \ds_views_plugins()
- 6.2 views/ds.views.inc \ds_views_plugins()
- 7.2 ds.views.inc \ds_views_plugins()
- 7 ds.views.inc \ds_views_plugins()
Implementation of hook_views_plugins().
File
- views/
ds.views.inc, line 11 - Views file for ds.
Code
function ds_views_plugins() {
$path = drupal_get_path('module', 'ds');
return array(
'module' => 'ds',
'row' => array(
'ds' => array(
'title' => t('Display suite object'),
'help' => t('Display the object through the Display suite module.'),
'handler' => 'views_plugin_ds_object_view',
'theme' => 'ds_row_object',
'path' => $path . '/views',
'theme path' => $path . '/theme',
'theme file' => 'theme.inc',
'uses options' => TRUE,
'type' => 'normal',
'help topic' => 'style-node',
),
'ds_fields' => array(
'uses fields' => TRUE,
'title' => t('Display suite fields'),
'help' => t('Display fields through the Display suite module.'),
'handler' => 'views_plugin_ds_fields_view',
'theme' => 'ds_row_fields',
'path' => $path . '/views',
'theme path' => $path . '/theme',
'theme file' => 'theme.inc',
'uses options' => TRUE,
'type' => 'normal',
'help topic' => 'style-node',
),
),
);
}