You are here

function ds_views_plugins in Display Suite 6.3

Same name and namespace in other branches
  1. 6 views/ds.views.inc \ds_views_plugins()
  2. 6.2 views/ds.views.inc \ds_views_plugins()
  3. 7.2 ds.views.inc \ds_views_plugins()
  4. 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',
      ),
    ),
  );
}