function views_plugin_display_feed::preview
Overrides views_plugin_display::preview
File
-
plugins/
views_plugin_display_feed.inc, line 67
Class
- views_plugin_display_feed
- The plugin that handles a feed, such as RSS or atom.
Code
public function preview() {
if (!empty($this->view->live_preview)) {
return '<pre>' . check_plain($this->view
->render()) . '</pre>';
}
return $this->view
->render();
}