You are here

function multiform_multiform_ids in Multiple forms 7.2

Store statically $multiform_id. Required for internal use.

@todo Add a more comprehensive comment.

1 call to multiform_multiform_ids()
multiform_form_after_build in ./multiform.module
Multiform subform #after_build.

File

./multiform.module, line 221

Code

function multiform_multiform_ids($form_id = NULL) {
  $multiform_ids =& drupal_static(__FUNCTION__);
  if (!empty($form_id)) {
    $multiform_ids[] = $form_id;
  }
  return $multiform_ids;
}