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

Provide a form for setting options.

Overrides views_plugin_row::options_form

File

core/modules/comment/views/views_plugin_row_comment_view.inc, line 35
Contains the node RSS row style plugin.

Class

views_plugin_row_comment_view
Plugin which performs a comment_view on the resulting object.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);

  $options = $this->options_form_summary_options();
  $form['view_mode'] = array(
    '#type' => 'select',
    '#options' => $options,
    '#title' => t('Display mode'),
    '#default_value' => $this->options['view_mode'],
  );

  $form['links'] = array(
    '#type' => 'checkbox',
    '#title' => t('Display links'),
    '#default_value' => $this->options['links'],
  );
}