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

Provide a form to edit options for this plugin.

Overrides views_plugin_style::options_form

File

core/modules/views/plugins/views_plugin_style_rss.inc, line 55
Contains the RSS style plugin.

Class

views_plugin_style_rss
Default style plugin to render an RSS feed.

Code

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

  $form['description'] = array(
    '#type' => 'textfield',
    '#title' => t('RSS description'),
    '#default_value' => $this->options['description'],
    '#description' => t('This will appear in the RSS feed itself.'),
    '#maxlength' => 1024,
  );

  $form['icon'] = array(
    '#type' => 'checkbox',
    '#title' => t('Add RSS icon to displays'),
    '#default_value' => $this->options['icon'],
    '#description' => t('Show an RSS icon on the displays to which this RSS feed is attached.'),
  );
}