I want to add a menu item the right way See "Edit IV Block" in the picture below.
That is the wrong way to do it.
If you search for drupal_alter('get_pane_links', $links, $pane, $content_type); you can see that the get_pane_links hook is supposed to fire, but for some reason it does not fire.
My question is, it seems like drupal_alter('get_pane_links') is the correct way to add menu items, but I've tried adding functions in other modules and they don't get called. I modified the code to do
echo 'before';
drupal_alter('get_pane_links', $links, $pane, $content_type);
echo 'after';
And no dice. What is the correct way to add a menu item or how to I implement this hook?