function views_plugin_row_aggregator_rss::options_form
3.x views_plugin_row_aggregator_rss.inc | views_plugin_row_aggregator_rss::options_form(&$form, &$form_state) |
2.x views_plugin_row_aggregator_rss.inc | views_plugin_row_aggregator_rss::options_form(&$form, &$form_state) |
Provide a form for setting options.
Overrides views_plugin_row::options_form
File
- modules/
aggregator/ views_plugin_row_aggregator_rss.inc, line 19 - Contains the Aggregator Item RSS row style plugin.
Class
- views_plugin_row_aggregator_rss
- Plugin which loads an aggregator item and formats it as an RSS item.
Code
function options_form(&$form, &$form_state) {
$form['item_length'] = array(
'#type' => 'select',
'#title' => t('Display type'),
'#options' => array(
'fulltext' => t('Full text'),
'teaser' => t('Title plus teaser'),
'title' => t('Title only'),
'default' => t('Use default RSS settings'),
),
'#default_value' => $this->options['item_length'],
);
}