You are here

function test_menu in Coder 8.2

Same name and namespace in other branches
  1. 8.3 tests/DrupalPractice/FunctionDefinitions/test.module \test_menu()
  2. 8.3.x tests/DrupalPractice/FunctionDefinitions/test.module \test_menu()

Implements hook_menu().

File

coder_sniffer/DrupalPractice/Test/FunctionDefinitions/test.module, line 20

Code

function test_menu() {
  $items['admin/secret/stuff'] = array(
    'title' => 'Secret stuff',
    'page callback' => 'test_page_callback',
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  return $items;
}