You are here

function _menu_block_by_module_hack in Menu Block 5.2

This page is simply to make Menu block visible on admin pages.

In Drupal 5, the admin/by-module page won't display Menu block's help link because it doesn't have any non-tab menu links. So to allow Menu block to have some "visibility" in the admin pages, we add a fake-ish page to admin/settings/menu_block that redirects to the "Add menu block" tab.

1 string reference to '_menu_block_by_module_hack'
menu_block_menu in ./menu_block.module
Implements hook_menu().

File

./menu_block.module, line 100
Provides configurable blocks of menu items.

Code

function _menu_block_by_module_hack() {
  drupal_goto('admin/build/block/add-menu-block', NULL, NULL, 301);
}