function dxpr_gridstack_views_plugins in DXPR GridStack 7
Implements hook_views_plugins().
File
- ./
dxpr_gridstack.views.inc, line 9 - Provide views data and handlers.
Code
function dxpr_gridstack_views_plugins() {
$module_path = drupal_get_path('module', 'dxpr_gridstack');
return array(
'style' => array(
'dxpr_gridstack_gridstack_plugin_style' => array(
'title' => t('DXPR GridStack'),
'help' => t('DXPR GridStack gridstack style'),
'path' => $module_path . '/plugins/dxpr_gridstack',
'handler' => 'DxprGridStackPluginStyle',
'parent' => 'default',
'theme' => 'dxpr_gridstack_gridstack_plugin_style',
'theme path' => $module_path . '/templates/dxpr_gridstack',
'theme file' => 'theme.inc',
'uses row plugin' => TRUE,
'uses grouping' => TRUE,
'uses options' => TRUE,
'type' => 'normal',
),
),
'row' => array(
'dxpr_gridstack_gridstack_plugin_rows' => array(
'title' => t('DXPR GridStack'),
'help' => t('Choose the fields to display in DXPR GridStack Style.'),
'path' => $module_path . '/plugins/dxpr_gridstack',
'handler' => 'DxprMagazineGridStackPluginRows',
'theme' => 'dxpr_gridstack_gridstack_plugin_rows',
'theme path' => $module_path . '/templates/dxpr_gridstack',
'theme file' => 'theme.inc',
'uses fields' => TRUE,
'uses options' => TRUE,
'type' => 'normal',
),
),
);
}