1 update_test.module | update_test_menu() |
Implements hook_menu().
File
- core/
modules/ update/ tests/ update_test/ update_test.module, line 20 - Module for testing Update Manager functionality.
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;
}