function views_plugin_row_node_rss::init

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

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';
    }
}