function datatables_theme in DataTables 8
Same name and namespace in other branches
- 6 datatables.module \datatables_theme()
- 7.2 datatables.module \datatables_theme()
- 7 datatables.module \datatables_theme()
- 2.x datatables.module \datatables_theme()
- 1.x datatables.module \datatables_theme()
Implements hook_theme().
File
- ./
datatables.module, line 14 - Provides Views integration for the jQuery DataTables plugin.
Code
function datatables_theme($existing, $type, $theme, $path) {
return [
'datatable' => [
'variables' => [
'header' => NULL,
'rows' => NULL,
'attributes' => NULL,
'caption' => NULL,
],
'file' => 'datatables.theme.inc',
],
];
}