public function tablesorter_style_plugin::options_form in Tablesorter 7
Render the given style.
Overrides views_plugin_style_table::options_form
File
- views/
tablesorter_style_plugin.inc, line 23 - Contains the tablesorter style plugin.
Class
- tablesorter_style_plugin
- Style plugin to render each item as a row in a tablesorter.
Code
public function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['elements'] = array(
'#type' => 'fieldset',
'#title' => t('Tablesorter Elements'),
'#collapsible' => TRUE,
'#collapsed' => TRUE,
);
$form['elements']['tablesorter_views_pager'] = array(
'#type' => 'checkbox',
'#title' => t('Enable Tablesorter pager?'),
'#default_value' => !empty($this->options['elements']['tablesorter_views_pager']),
);
}