You are here

function wf_crm_contact_component_form_help in Webform CiviCRM Integration 7.4

Same name and namespace in other branches
  1. 7.5 includes/contact_component.inc \wf_crm_contact_component_form_help()

Adds help to the form

Parameters

$form:

1 call to wf_crm_contact_component_form_help()
_webform_edit_civicrm_contact in includes/contact_component.inc
Implements _webform_edit_component().

File

includes/contact_component.inc, line 398

Code

function wf_crm_contact_component_form_help(&$form) {
  foreach (element_children($form) as $element) {
    if (is_array($form[$element])) {
      wf_crm_contact_component_form_help($form[$element]);
      if (method_exists('wf_crm_admin_help', "contact_component_{$element}")) {
        wf_crm_admin_help::addHelp($form[$element], "contact_component_{$element}");
      }
    }
  }
}