You are here

function template_process_views_view in Views (for Drupal 7) 8.3

Same name and namespace in other branches
  1. 7.3 theme/theme.inc \template_process_views_view()

Process function to render certain elements into the view.

File

theme/theme.inc, line 167
Preprocessors and helper functions to make theming easier.

Code

function template_process_views_view(&$vars) {
  if (is_array($vars['rows'])) {
    $vars['rows'] = drupal_render($vars['rows']);
  }
}