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
  5. 7.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


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




joachim’s picture

This is equal to 132.

Strae’s picture


scronide’s picture

MENU_LOCAL_TASK is just a constant referring to a number. The number it refers to is the result of MENU_IS_LOCAL_TASK (0x0080) OR MENU_VISIBLE_IN_BREADCRUMB (0x0004). This turns out to be 132 (0x0084).