function sgrid_views_plugins in Sortable Grid Views Plugin 6
Same name and namespace in other branches
- 7 sgrid.views.inc \sgrid_views_plugins()
@file sgrid.views.inc Views include file for Sortable Grid module
File
- ./
sgrid.views.inc, line 8 - sgrid.views.inc Views include file for Sortable Grid module
Code
function sgrid_views_plugins() {
return array(
'style' => array(
'sgrid' => array(
'title' => t('Sortable Grid'),
'help' => t('Displays rows as a sortable HTML grid'),
'handler' => 'views_plugin_style_sgrid',
'theme' => 'views_view_sgrid',
'uses row plugin' => TRUE,
'uses row class' => TRUE,
'uses options' => TRUE,
'type' => 'normal',
'help topic' => 'style-list',
),
),
'row' => array(
'sgrid_style' => array(
'title' => t('Sortable Grid'),
'help' => t('(Includes the nid in any row for sort functions to work.)'),
'handler' => 'views_plugin_row_sgrid_style',
'theme' => 'views_view_row_sgrid_style',
'uses fields' => TRUE,
'uses options' => TRUE,
'type' => 'normal',
),
),
);
}