function file_test_menu

Implements hook_menu().

File

modules/simpletest/tests/file_test.module, line 19

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

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