function menu_block_theme_registry_alter in Menu Block 8
Implements hook_theme_registry_alter().
File
- ./
menu_block.module, line 70 - Provides configurable blocks of menu links.
Code
function menu_block_theme_registry_alter(&$theme_registry) {
// Add $menu_block_configuration as a variable to the 'menu' theme hook. Set
// its default value to be an empty array.
$theme_registry['menu']['variables']['menu_block_configuration'] = [];
}