Same name and namespace in other branches
  1. 6.x-3.x theme/theme.inc \template_preprocess_views_view_field()

Process a single field within a view.

This preprocess function isn't normally run, as a function is used by default, for performance. However, by creating a template, this preprocess should get picked up.

File

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

Code

function template_preprocess_views_view_field(&$vars) {
  $vars['output'] = $vars['field']
    ->advanced_render($vars['row']);
}