function views_plugin_display_feed::option_definition
Same name in other branches
- 7.x-3.x plugins/views_plugin_display_feed.inc \views_plugin_display_feed::option_definition()
Overrides views_plugin_display_page::option_definition
File
-
plugins/
views_plugin_display_feed.inc, line 63
Class
- views_plugin_display_feed
- The plugin that handles a feed, such as RSS or atom.
Code
function option_definition() {
$options = parent::option_definition();
$options['displays'] = array(
'default' => array(),
);
// Overrides for standard stuff:
$options['style_plugin']['default'] = 'rss';
$options['style_options']['default'] = array(
'mission_description' => FALSE,
'description' => '',
);
$options['sitename_title']['default'] = FALSE;
$options['row_plugin']['default'] = '';
$options['defaults']['default']['style_plugin'] = FALSE;
$options['defaults']['default']['style_options'] = FALSE;
$options['defaults']['default']['row_plugin'] = FALSE;
$options['defaults']['default']['row_options'] = FALSE;
return $options;
}