You are here

function multiform_test1_2 in Multiple forms 7

Same name and namespace in other branches
  1. 7.2 tests/multiform_test.module \multiform_test1_2()

Build multiform_test1_2 form.

_state

Parameters

type $form:

Return value

string

1 string reference to 'multiform_test1_2'
multiform_test_menu in tests/multiform_test.module
Implementation of hook_menu().

File

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

Code

function multiform_test1_2($form, $form_state) {
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => 'save',
    '#submit' => array(
      'multiform_test1_submit_button',
    ),
  );
  $form['delete'] = array(
    '#type' => 'submit',
    '#value' => 'delete',
    '#submit' => array(
      'multiform_test1_delete_button',
    ),
  );
  return $form;
}