You are here

function ViewsBootstrapTablePluginStyle::options_form in Views Bootstrap 7.2

Same name and namespace in other branches
  1. 7.3 plugins/table/views_bootstrap_table_plugin_style.inc \ViewsBootstrapTablePluginStyle::options_form()

Form.

Overrides views_plugin_style_table::options_form

File

plugins/table/views_bootstrap_table_plugin_style.inc, line 23
Definition of views_bootstrap_plugin_style.

Class

ViewsBootstrapTablePluginStyle
Class to define a style plugin handler.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['bootstrap_styles'] = array(
    '#title' => t('Bootstrap styles'),
    '#type' => 'checkboxes',
    '#default_value' => $this->options['bootstrap_styles'],
    '#options' => array(
      'striped' => t('Striped'),
      'bordered' => t('Bordered'),
      'hover' => t('Hover'),
      'condensed' => t('Condensed'),
    ),
  );
}