1 views_plugin_display_feed.inc | views_plugin_display_feed::execute() |
Feeds do not go through the standard page theme hooks. Instead, they go through their own theme function and then return NULL so that Backdrop believes that the page has already rendered itself... which it has.
Overrides views_plugin_display_page::execute
File
- core/
modules/ views/ plugins/ views_plugin_display_feed.inc, line 36 - Contains the feed display plugin.
Class
- views_plugin_display_feed
- The plugin that handles a feed, such as RSS or atom.
Code
function execute() {
$output = $this->view->render();
if (!empty($this->view->build_info['denied'])) {
return MENU_ACCESS_DENIED;
}
if (empty($output)) {
return backdrop_not_found();
}
print $output;
backdrop_exit();
}