[SOLVED] How to Programmatically Create Menu Tabs? Drupal Technical | 2 min read For a recent project, I had a requirement to implement menu tabs in Drupal 7. Let see what are the necessary code for the same. First I created menu tabs in .module file using hook_menu() with the following codes.