You are here

constant MENU_DEFAULT_LOCAL_TASK in Drupal 7

Same name and namespace in other branches
  1. 4 includes/menu.inc \MENU_DEFAULT_LOCAL_TASK
  2. 5 includes/menu.inc \MENU_DEFAULT_LOCAL_TASK
  3. 6 includes/menu.inc \MENU_DEFAULT_LOCAL_TASK

Menu type -- The "default" local task, which is initially active.

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

Related topics

22 uses of MENU_DEFAULT_LOCAL_TASK
aggregator_menu in modules/aggregator/aggregator.module
Implements hook_menu().
batch_test_menu in modules/simpletest/tests/batch_test.module
Implement hook_menu().
block_menu in modules/block/block.module
Implements hook_menu().
book_menu in modules/book/book.module
Implements hook_menu().
comment_menu in modules/comment/comment.module
Implements hook_menu().

... See full list

File

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

Code

define('MENU_DEFAULT_LOCAL_TASK', MENU_IS_LOCAL_TASK | MENU_LINKS_TO_PARENT | MENU_VISIBLE_IN_BREADCRUMB);