function views_attach_plugin_display_profile::execute in Views attach 6
Same name and namespace in other branches
- 6.2 views_attach_plugin_display_profile.inc \views_attach_plugin_display_profile::execute()
- 7.2 views_attach_plugin_display_profile.inc \views_attach_plugin_display_profile::execute()
The display block handler returns the structure necessary for a block.
File
- ./
views_attach_plugin_display_profile.inc, line 114
Class
- views_attach_plugin_display_profile
- The plugin that handles a user profile.
Code
function execute() {
// Prior to this being called, the $view should already be set to this
// display, and arguments should be set on the view.
$data = $this->view
->render();
if (!empty($this->view->result) || $this
->get_option('empty') || !empty($this->view->style_plugin->definition['even empty'])) {
return $data;
}
}