1.20.x file_test.module file_test_menu()

Implements hook_menu().

File

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' => 'backdrop_get_form',
    'page arguments' => array('_file_test_form'),
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  return $items;
}