You are here

function media_module_test_menu in D7 Media 7.4

Same name and namespace in other branches
  1. 7.2 tests/media_module_test.module \media_module_test_menu()
  2. 7.3 tests/media_module_test.module \media_module_test_menu()

Implements hook_menu().

File

tests/media_module_test.module, line 53
Provides Media module pages for testing purposes.

Code

function media_module_test_menu() {
  $items = array();
  $items['media/test'] = array(
    'title' => 'Media test',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'media_module_test_form',
    ),
    'access arguments' => array(
      'view files',
    ),
  );
  return $items;
}