function datatables_style_plugin::option_definition in DataTables 6
Same name and namespace in other branches
- 7.2 views/datatables_style_plugin.inc \datatables_style_plugin::option_definition()
- 7 views/datatables_style_plugin.inc \datatables_style_plugin::option_definition()
File
- views/
datatables_style_plugin.inc, line 13 - Contains the datatables style plugin.
Class
- datatables_style_plugin
- Style plugin to render each item as a row in a datatables.
Code
function option_definition() {
$options = parent::option_definition();
unset($options['sticky']);
unset($options['override']);
$options['elements']['search_box'] = array(
'default' => TRUE,
);
$options['elements']['table_info'] = array(
'default' => TRUE,
);
return $options;
}