slickgrid.views.inc in Slickgrid 7
File
includes/slickgrid.views.inc
View source
<?php
function slickgrid_views_plugins() {
$path = drupal_get_path('module', 'slickgrid');
$views_path = drupal_get_path('module', 'views');
return array(
'style' => array(
'parent' => array(
'handler' => 'views_plugin_style',
'path' => "{$views_path}/plugins",
'theme file' => 'theme.inc',
'theme path' => "{$views_path}/theme",
'parent' => '',
),
'slickgrid' => array(
'title' => t('Slickgrid'),
'help' => t('Displays data in an editable spreadsheet-style grid.'),
'path' => "{$path}/includes",
'parent' => 'parent',
'handler' => 'slickgrid_views_plugin',
'theme file' => 'theme.inc',
'theme path' => "{$path}/theme",
'theme' => 'views_view_slickgrid',
'uses fields' => TRUE,
'uses options' => TRUE,
'uses grouping' => FALSE,
'use ajax' => FALSE,
'type' => 'normal',
),
),
);
}