function file_test_menu
7.x file_test.module | file_test_menu() |
Implements hook_menu().
File
- drupal-7.x/
modules/ simpletest/ tests/ file_test.module, line 19 - Helper module for the file tests.
Code
function file_test_menu() {
$items['file-test/upload'] = array(
'title' => 'Upload test',
'page callback' => 'drupal_get_form',
'page arguments' => array('_file_test_form'),
'access arguments' => array('access content'),
'type' => MENU_CALLBACK,
);
return $items;
}