You are here

function template_preprocess_pane_navigation in Panels Everywhere 6

Same name and namespace in other branches
  1. 7 theme/theme.inc \template_preprocess_pane_navigation()

File

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

Code

function template_preprocess_pane_navigation(&$vars) {

  // Adhere to the theme's settings for the navigation bar.
  $vars['primary_links'] = theme_get_setting('toggle_primary_links') ? menu_primary_links() : array();
  $vars['secondary_links'] = theme_get_setting('toggle_secondary_links') ? menu_secondary_links() : array();
  $vars['breadcrumb'] = theme('breadcrumb', drupal_get_breadcrumb());
}