function views_plugin_style_rss::options_form
3.x views_plugin_style_rss.inc | views_plugin_style_rss::options_form(&$form, &$form_state) |
2.x 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
- plugins/
views_plugin_style_rss.inc, line 52 - 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,
);
}