You are here

function path_breadcrumbs_theme_registry_alter in Path Breadcrumbs 7.2

Same name and namespace in other branches
  1. 7.3 path_breadcrumbs.module \path_breadcrumbs_theme_registry_alter()

Implements hook_theme_registry_alter().

Parameters

$theme_registry: Drupal theme registry that could be changed.

File

./path_breadcrumbs.module, line 181
Provide core functions for path breadcrumbs modue.

Code

function path_breadcrumbs_theme_registry_alter(&$theme_registry) {
  $internal_render = variable_get('path_breadcrumbs_internal_render', 1);
  if ($internal_render) {
    $theme_registry['breadcrumb']['theme path'] = drupal_get_path('module', 'path_breadcrumbs');
    $theme_registry['breadcrumb']['function'] = 'path_breadcrumbs_breadcrumb';
  }
}