You are here

function multiform_test1_1 in Multiple forms 7.2

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

Build multiform_test1_1 form.

_state

Parameters

type $form:

Return value

array

1 string reference to 'multiform_test1_1'
multiform_test1_callback in tests/multiform_test.module
Callback for Test 1

File

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

Code

function multiform_test1_1($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;
}