You are here

function special_menu_items_page_callback in Special menu items 7.2

Page callback for special menu links.

Simply returns MENU_NOT_FOUND. We can't use drupal_not_found() as page callback since this would lead to calling drupal_deliver_page() twice.

Return value

int The MENU_NOT_FOUND status code.

1 string reference to 'special_menu_items_page_callback'
special_menu_items_menu in ./special_menu_items.module
Implements hook_menu().

File

./special_menu_items.module, line 55
The main file for the Special menu items module.

Code

function special_menu_items_page_callback() {
  return MENU_NOT_FOUND;
}