function menu_position_theme_registry_alter in Menu Position 6
Implements hook_theme_registry_alter().
File
- ./
menu_position.module, line 55 - Provides menu links for dynamic positioning of nodes based on configurable rules.
Code
function menu_position_theme_registry_alter(&$theme_registry) {
// Allows rules to be run after the page callback, but before the rest of the page is built.
array_unshift($theme_registry['page']['preprocess functions'], 'menu_position_page_preprocess_callback');
}