MENU_CALLBACK
Menu type -- A hidden, internal callback, typically used for API calls.
Callbacks simply register a path so that the correct function is fired when the URL is accessed. They do not appear in menus or breadcrumbs.
Related topics
36 uses of MENU_CALLBACK
- aggregator_menu in modules/
aggregator/ aggregator.module - Implements hook_menu().
- aggregator_test_menu in modules/
aggregator/ tests/ aggregator_test.module - Implements hook_menu().
- ajax_test_menu in modules/
simpletest/ tests/ ajax_test.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().
File
-
includes/
menu.inc, line 151
Code
define('MENU_CALLBACK', 0x0);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.