You are here

function multiform_submits_form in Multiple forms 7.2

Auxiliary subform for submits map.

2 string references to 'multiform_submits_form'
multiform_cache_prepare in ./multiform.inc
Cache mapped submits info and hide them.
multiform_init_settings in ./multiform.inc
Inititalize multiform settings.

File

./multiform.inc, line 141

Code

function multiform_submits_form($form, $form_state, $settings) {
  $form = array();
  if (!empty($settings['#submit_map']['#submits'])) {
    foreach ($settings['#submit_map']['#submits'] as $k => $info) {
      $form[$k] = $info;
    }
  }
  return $form;
}