You are here

function multiform_test_menu in Multiple forms 7

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

@file

@author Kálmán Hosszu - http://drupal.org/user/267481

File

./multiform.example.inc, line 10
@author Kálmán Hosszu - http://drupal.org/user/267481

Code

function multiform_test_menu() {
  return array(
    'multiform_test' => array(
      'access callback' => TRUE,
      'type' => MENU_CALLBACK,
      'page callback' => 'multiform_get_form',
      'page arguments' => array(
        array(
          'multiform_test1',
        ),
        array(
          'multiform_test2',
        ),
      ),
    ),
  );
}