You are here

function webform_civicrm_help in Webform CiviCRM Integration 7.5

Same name and namespace in other branches
  1. 8.5 webform_civicrm.module \webform_civicrm_help()
  2. 6.2 webform_civicrm.module \webform_civicrm_help()
  3. 6 webform_civicrm.module \webform_civicrm_help()
  4. 7 webform_civicrm.module \webform_civicrm_help()
  5. 7.2 webform_civicrm.module \webform_civicrm_help()
  6. 7.3 webform_civicrm.module \webform_civicrm_help()
  7. 7.4 webform_civicrm.module \webform_civicrm_help()

Implements hook_help().

File

./webform_civicrm.module, line 541
Webform CiviCRM Integration Module: Links webform submissions to contacts in a CiviCRM database. @author Coleman Watts

Code

function webform_civicrm_help($section) {
  if ($section == 'admin/help#webform_civicrm') {

    // Return a line-break version of the module README.md
    return nl2br(file_get_contents(drupal_get_path('module', 'webform_civicrm') . '/README.md'));
  }
}