function menutrails_theme_registry_alter in Menu TrailsMenu Trails 6
Implementation of hook_theme_registry_alter().
File
- ./
menutrails.module, line 419 - Menutrails allows the assignment of "trails" which will keep menu items active for individual node views.
Code
function menutrails_theme_registry_alter(&$theme_registry) {
// If the theme system did not detect another theme override function, change
// theme_links() into menutrails_links().
if ($theme_registry['links']['function'] == 'theme_links') {
$theme_registry['links']['function'] = 'menutrails_links';
}
}