function browser_test_menu in SimpleTest 7
Implement hook_menu().
File
- tests/
browser_test.module, line 11 - Provide various pages for testing the internal browser.
Code
function browser_test_menu() {
$items['browser_test/print/get'] = array(
'page callback' => 'browser_test_print_get',
'access arguments' => array(
'access content',
),
);
$items['browser_test/print/post'] = array(
'page callback' => 'drupal_get_form',
'page arguments' => array(
'browser_test_print_post_form',
),
'access arguments' => array(
'access content',
),
);
$items['browser_test/refresh/meta'] = array(
'page callback' => 'browser_test_refresh_meta',
'access arguments' => array(
'access content',
),
);
$items['browser_test/refresh/header'] = array(
'page callback' => 'browser_test_refresh_header',
'access arguments' => array(
'access content',
),
);
return $items;
}