function update_test_menu

Implements hook_menu().

File

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

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.