You are here

function template_preprocess_pane_header in Panels Everywhere 7

Same name and namespace in other branches
  1. 6 theme/theme.inc \template_preprocess_pane_header()

Default preprocess functions.

File

theme/theme.inc, line 74
Contains preprocess functions for Panels Everywhere themes.

Code

function template_preprocess_pane_header(&$vars) {
  $vars['site_name'] = theme_get_setting('toggle_name') ? filter_xss_admin(variable_get('site_name', 'Drupal')) : '';
  $vars['site_slogan'] = theme_get_setting('toggle_slogan') ? filter_xss_admin(variable_get('site_slogan', '')) : '';
  $vars['front_page'] = url();
  $vars['logo'] = theme_get_setting('logo');
}