You are here

constant MENU_DEFAULT_LOCAL_TASK in Drupal 4

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

15 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().
book_menu in modules/book.module
Implementation of hook_menu().
comment_menu in modules/comment.module
Implementation of hook_menu().
contact_menu in modules/contact.module
Implementation of hook_menu().

... See full list

File

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

Code

define('MENU_DEFAULT_LOCAL_TASK', MENU_IS_LOCAL_TASK | MENU_LINKS_TO_PARENT);