function web_widgets_plugin_display_web_widgets::execute in Web Widgets 7
Same name and namespace in other branches
- 6 views/web_widgets_plugin_display_web_widgets.inc \web_widgets_plugin_display_web_widgets::execute()
web_widgets do not go through the normal page theming mechanism. Instead, they go through their own little theme function and then return NULL so that Drupal believes that the page has already rendered itself...which it has.
Overrides views_plugin_display_page::execute
File
- views/
web_widgets_plugin_display_web_widgets.inc, line 28 - Implementation of widget display.
Class
- web_widgets_plugin_display_web_widgets
- The plugin that handles a feed, such as RSS or atom.
Code
function execute() {
$output = $this->view
->render();
if (empty($output)) {
return drupal_not_found();
}
print $output;
}