function custom_breadcrumbs_paths_preprocess_page in Custom Breadcrumbs 6.2
Same name and namespace in other branches
- 7.2 custom_breadcrumbs_paths/custom_breadcrumbs_paths.module \custom_breadcrumbs_paths_preprocess_page()
Implements hook_preprocess_page().
File
- custom_breadcrumbs_paths/
custom_breadcrumbs_paths.module, line 71
Code
function custom_breadcrumbs_paths_preprocess_page(&$variables) {
if (!custom_breadcrumbs_exclude_path()) {
$objs = isset($variables) && is_array($variables) ? $variables : array();
// Check for a match to provide custom breadcrumbs on module callback pages.
if (_custom_breadcrumbs_paths_set_breadcrumb($objs)) {
$variables['breadcrumb'] = theme('breadcrumb', drupal_get_breadcrumb());
}
}
}