Is there any way to add new items to an existing menu using custom module in Drupal7.


For Drupal 6 you do use menu_link_save:

$item = array(
  'link_title' => 'Menu title',
  'link_path' => 'menu/path',
  'menu_name' => 'menu_name',
  'module' => 'your_module',
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.