You are here

function webform_civicrm_help in Webform CiviCRM Integration 7.2

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.5 webform_civicrm.module \webform_civicrm_help()
  5. 7 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 309
Webform CiviCRM Integration Module: Links webform submissions to contacts in a CiviCRM database. @author Coleman Watts

Code

function webform_civicrm_help($section) {
  switch ($section) {
    case 'admin/help#webform_civicrm':

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