1 views_plugin_row_node_rss.inc | views_plugin_row_node_rss::options_form_summary_options() |
Return the main options, which are shown in the summary title.
File
- core/
modules/ node/ views/ views_plugin_row_node_rss.inc, line 58 - Contains the node RSS row style plugin.
Class
- views_plugin_row_node_rss
- Plugin which performs a node_view on the resulting object and formats it as an RSS item.
Code
function options_form_summary_options() {
$entity_info = entity_get_info('node');
$options = array();
if (!empty($entity_info['view modes'])) {
foreach ($entity_info['view modes'] as $mode => $settings) {
$options[$mode] = $settings['label'];
}
}
$options['title'] = t('Title only');
$options['default'] = t('Use site default RSS settings');
return $options;
}