1.20.x views.theme.inc template_preprocess_views_view_field(&$variables)

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

modules/views/templates/views.theme.inc, line 340
Preprocessors and helper functions to make theme development easier.

Code

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