You are here

function template_preprocess_views_data_export_txt_body in Views data export 7.4

Same name and namespace in other branches
  1. 6.3 theme/views_data_export.theme.inc \template_preprocess_views_data_export_txt_body()
  2. 6 theme/views_data_export.theme.inc \template_preprocess_views_data_export_txt_body()
  3. 6.2 theme/views_data_export.theme.inc \template_preprocess_views_data_export_txt_body()
  4. 7 theme/views_data_export.theme.inc \template_preprocess_views_data_export_txt_body()
  5. 7.3 theme/views_data_export.theme.inc \template_preprocess_views_data_export_txt_body()

Preprocess txt output template.

File

theme/views_data_export.theme.inc, line 250
Theme related functions for processing our output style plugins.

Code

function template_preprocess_views_data_export_txt_body(&$vars) {
  _views_data_export_header_shared_preprocess($vars);

  // We support not outputting fields when they are empty, so indicate so.
  $vars['hide_empty_support'] = TRUE;
  _views_data_export_body_shared_preprocess($vars);
}