function views_plugin_row_file_rss::init in File Entity (fieldable files) 7.2
Same name and namespace in other branches
- 8.2 views/views_plugin_row_file_rss.inc \views_plugin_row_file_rss::init()
- 7.3 views/views_plugin_row_file_rss.inc \views_plugin_row_file_rss::init()
Override init function to convert fulltext view-mode to full.
Overrides views_plugin_row::init
File
- views/
views_plugin_row_file_rss.inc, line 32 - Contains the file RSS row style plugin.
Class
- views_plugin_row_file_rss
- Plugin which performs a file_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';
}
}