You are here

function _template_preprocess_views_attach_display_view in Views attach 7.2

Same name and namespace in other branches
  1. 6.2 views_attach.theme.inc \_template_preprocess_views_attach_display_view()

@file Preprocess handlers for theme functions

2 calls to _template_preprocess_views_attach_display_view()
template_preprocess_views_attach_display_node_content_view in ./views_attach.theme.inc
template_preprocess_views_attach_display_profile_view in ./views_attach.theme.inc

File

./views_attach.theme.inc, line 7
Preprocess handlers for theme functions

Code

function _template_preprocess_views_attach_display_view(&$vars) {
  template_preprocess_views_view($vars);
  $view = $vars['view'];
  $display = $view->display_handler;
  $vars['title'] = $display
    ->get_option('show_title') ? filter_xss_admin($view
    ->get_title()) : '';
}