1 views_plugin_style_summary_unformatted.inc views_plugin_style_summary_unformatted::options_form(&$form, &$form_state)

Provide a form to edit options for this plugin.

Overrides views_plugin_style_summary::options_form

File

core/modules/views/plugins/views_plugin_style_summary_unformatted.inc, line 20
Contains the unformatted summary style plugin.

Class

views_plugin_style_summary_unformatted
The default style plugin for summaries.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['inline'] = array(
    '#type' => 'checkbox',
    '#default_value' => !empty($this->options['inline']),
    '#title' => t('Display items inline'),
  );
  $form['separator'] = array(
    '#type' => 'textfield',
    '#title' => t('Separator'),
    '#default_value' => $this->options['separator'],
  );
}