function views_handler_area_view::render
Render the area.
Overrides views_handler_area::render
File
-
handlers/
views_handler_area_view.inc, line 55
Class
- views_handler_area_view
- Views area handlers. Insert a view inside of an area.
Code
public function render($empty = FALSE) {
if ($view = $this->loadView()) {
if (!empty($this->options['inherit_arguments']) && !empty($this->view->args)) {
return $view->preview(NULL, $this->view->args);
}
else {
return $view->preview(NULL);
}
}
return '';
}