1 views_plugin_row_comment_rss.inc | views_plugin_row_comment_rss::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_rss.inc, line 23 - Contains the comment RSS row style plugin.
Class
- views_plugin_row_comment_rss
- Plugin which formats the comments as RSS items.
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['item_length'] = array(
'#type' => 'select',
'#title' => t('Display type'),
'#options' => $this->options_form_summary_options(),
'#default_value' => $this->options['item_length'],
);
$form['links'] = array(
'#type' => 'checkbox',
'#title' => t('Display links'),
'#default_value' => $this->options['links'],
);
}