dxpr_gridstack.views.inc in DXPR GridStack 7
Provide views data and handlers.
File
dxpr_gridstack.views.incView source
<?php
/**
* @file
* Provide views data and handlers.
*/
/**
* Implements hook_views_plugins().
*/
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',
),
),
);
}
Functions
Name![]() |
Description |
---|---|
dxpr_gridstack_views_plugins | Implements hook_views_plugins(). |