You are here

function multiform_test_menu in Multiple forms 7.2

Same name and namespace in other branches
  1. 7 multiform.example.inc \multiform_test_menu()
  2. 7 tests/multiform_test.module \multiform_test_menu()

Implementation of hook_menu().

Return value

An array of menu items.

File

tests/multiform_test.module, line 19
@author Kálmán Hosszu - http://drupal.org/user/267481

Code

function multiform_test_menu() {
  $items = array();
  $items['multiform-test/1'] = array(
    'title' => 'Multiform test page 1',
    'page callback' => 'multiform_test1_callback',
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  $items['multiform-test/2'] = array(
    'title' => 'Multiform test page 2',
    'page callback' => 'multiform_test2_callback',
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  return $items;
}