Same name and namespace in other branches
  1. 4.6.x includes/menu.inc \MENU_DEFAULT_LOCAL_TASK
  2. 4.7.x includes/menu.inc \MENU_DEFAULT_LOCAL_TASK
  3. 5.x includes/menu.inc \MENU_DEFAULT_LOCAL_TASK
  4. 7.x includes/menu.inc \MENU_DEFAULT_LOCAL_TASK

Every set of local tasks should provide one "default" task, that links to the same path as its parent when clicked.

Related topics

16 uses of MENU_DEFAULT_LOCAL_TASK
aggregator_menu in modules/aggregator/aggregator.module
Implementation of hook_menu().
block_menu in modules/block/block.module
Implementation of hook_menu().
book_menu in modules/book/book.module
Implementation of hook_menu().
comment_menu in modules/comment/comment.module
Implementation of hook_menu().
contact_menu in modules/contact/contact.module
Implementation of hook_menu().

... See full list

File

includes/menu.inc, line 133
API for the Drupal menu system.

Code

define('MENU_DEFAULT_LOCAL_TASK', MENU_IS_LOCAL_TASK | MENU_LINKS_TO_PARENT);