You are here

function ViewsBootstrapThumbnailPluginStyle::options_form in Views Bootstrap 7

Same name and namespace in other branches
  1. 7.3 plugins/thumbnail/views_bootstrap_thumbnail_plugin_style.inc \ViewsBootstrapThumbnailPluginStyle::options_form()
  2. 7.2 plugins/thumbnail/views_bootstrap_thumbnail_plugin_style.inc \ViewsBootstrapThumbnailPluginStyle::options_form()

Form.

Overrides views_plugin_style::options_form

File

plugins/thumbnail/views_bootstrap_thumbnail_plugin_style.inc, line 23
Definition of views_bootstrap_plugin_style.

Class

ViewsBootstrapThumbnailPluginStyle
Class to define a style plugin handler.

Code

function options_form(&$form, &$form_state) {

  //@TODO: Grouping doesn't work here.

  //parent::options_form($form, $form_state);
  $form['column_type'] = array(
    '#type' => 'select',
    '#title' => t('Column type'),
    '#options' => drupal_map_assoc(range(1, 12)),
    '#default_value' => $this->options['column_type'],
    '#description' => t('The default Bootstrap grid system utilizes 12 columns'),
  );
}