By molenick on
My module's admin page is working correctly when you navigate to it by entering "/admin/settings/my_module", but does not appear in the master list of module settings on the admin page. I figure I am overlooking something simple, but am having difficulty locating the problem.
The link registration in my_module_menu looks like this:
$items['admin/settings/my_module'] = array(
'title' => 'Administer My Module',
'description' => 'Admin for My Module',
'page callback' => 'admin_my_module',
'access arguments' => array('administer my module'),
'type' => MENU_CALLBACK,
);
Any ideas?
Comments
Remove the line: 'type' =>
Remove the line:
'type' => MENU_CALLBACKor change it to'type' => MENU_NORMAL_ITEM, then clear your cache.Contact me to contract me for D7 -> D10/11 migrations.