update_test_menu

7 update_test.module update_test_menu()
8 update_test.module update_test_menu()

Implements hook_menu().

File

modules/update/tests/update_test.module, line 15

Code

function update_test_menu() {
  $items = array();

  $items['update-test'] = array(
    'title' => t('Update test'), 
    'page callback' => 'update_test_mock_page', 
    'access callback' => TRUE, 
    'type' => MENU_CALLBACK,
  );
  $items['503-error'] = array(
    'title' => t('503 Service unavailable'), 
    'page callback' => 'update_callback_service_unavailable', 
    'access callback' => TRUE, 
    'type' => MENU_CALLBACK,
  );

  return $items;
}
Login or register to post comments