1 views_plugin_row_node_rss.inc views_plugin_row_node_rss::init(&$view, &$display, $options = NULL)

Override init function to convert fulltext view-mode to full.

Overrides views_plugin_row::init

File

core/modules/node/views/views_plugin_row_node_rss.inc, line 31
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 init(&$view, &$display, $options = NULL) {
  parent::init($view, $display, $options);

  if ($this->options['item_length'] == 'fulltext') {
    $this->options['item_length'] = 'full';
  }
}