public function views_plugin_row_node_rss::init in Views (for Drupal 7) 7.3
Override init function to convert fulltext view-mode to full.
Overrides views_plugin_row::init
File
- modules/
node/ views_plugin_row_node_rss.inc, line 44 - Definition of views_plugin_row_node_rss.
Class
- views_plugin_row_node_rss
- Plugin which performs a node_view on the resulting object and formats it as an RSS item.
Code
public function init(&$view, &$display, $options = NULL) {
parent::init($view, $display, $options);
if ($this->options['item_length'] == 'fulltext') {
$this->options['item_length'] = 'full';
}
}