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. 6.x includes/menu.inc \MENU_LOCAL_TASK
  4. 7.x includes/menu.inc \MENU_LOCAL_TASK

Local tasks are rendered as tabs by default. Use this for 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

15 uses of MENU_LOCAL_TASK
aggregator_menu in modules/aggregator/aggregator.module
Implementation of hook_menu().
block_menu in modules/block/block.module
Implementation of hook_menu().
book_menu in modules/book/book.module
Implementation of hook_menu().
comment_menu in modules/comment/comment.module
Implementation of hook_menu().
contact_menu in modules/contact/contact.module
Implementation of hook_menu().

... See full list

File

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

Code

define('MENU_LOCAL_TASK', MENU_IS_LOCAL_TASK);