function datatables_views_plugins in DataTables 7.2
Same name and namespace in other branches
- 6 views/datatables.views.inc \datatables_views_plugins()
- 7 views/datatables.views.inc \datatables_views_plugins()
Implements hook_views_plugins().
File
- views/
datatables.views.inc, line 11 - Datatables view hooks
Code
function datatables_views_plugins() {
$path = drupal_get_path('module', 'datatables') . '/views';
return array(
'module' => 'datatables',
'style' => array(
'datatables' => array(
'title' => t('DataTables'),
'help' => t('Displays rows in a jQuery table.'),
'path' => $path,
'theme path' => $path,
'handler' => 'datatables_style_plugin',
'parent' => 'table',
'theme' => 'datatables_view',
'uses row plugin' => FALSE,
'uses row class' => TRUE,
'uses fields' => TRUE,
'uses options' => TRUE,
'type' => 'normal',
),
),
);
}