Same name and namespace in other branches
  1. 4.7.x includes/menu.inc \MENU_DEFAULT_LOCAL_TASK
  2. 5.x includes/menu.inc \MENU_DEFAULT_LOCAL_TASK
  3. 6.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

12 uses of MENU_DEFAULT_LOCAL_TASK
aggregator_menu in modules/aggregator.module
Implementation of hook_menu().
block_menu in modules/block.module
Implementation of hook_menu().
comment_menu in modules/comment.module
Implementation of hook_menu().
forum_menu in modules/forum.module
Implementation of hook_menu().
locale_menu in modules/locale.module
Implementation of hook_menu().

... See full list

File

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

Code

define('MENU_DEFAULT_LOCAL_TASK', MENU_IS_LOCAL_TASK | MENU_LINKS_TO_PARENT);