You are here

function webform_forms in Webform 5

Same name and namespace in other branches
  1. 5.2 webform.module \webform_forms()
  2. 6.3 webform.module \webform_forms()
  3. 6.2 webform.module \webform_forms()
  4. 7.4 webform.module \webform_forms()
  5. 7.3 webform.module \webform_forms()

Implementation of hook_forms(). All webform_client_form forms share the same form handler

File

./webform.module, line 1125

Code

function webform_forms($args) {
  $form_id = $args[0];
  if (strpos($form_id, 'webform_client_form_') === 0) {
    $forms[$form_id]['callback'] = 'webform_client_form';
  }
  return $forms;
}