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

Menu type -- A task specific to the parent item, usually rendered as a tab.

Local tasks are menu items that describe actions to be performed on their parent item. An example is the path "node/52/edit", which performs the "edit" task on "node/52".

Related topics

25 uses of MENU_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 170
API for the Drupal menu system.

Code

define('MENU_LOCAL_TASK', MENU_IS_LOCAL_TASK | MENU_VISIBLE_IN_BREADCRUMB);