function datatables_views_plugins in DataTables 6
Same name and namespace in other branches
- 7.2 views/datatables.views.inc \datatables_views_plugins()
- 7 views/datatables.views.inc \datatables_views_plugins()
Implementation of 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 fields' => TRUE,
'uses options' => TRUE,
'type' => 'normal',
),
),
);
}