You are here

function checklistapi_help in Checklist API 7

Same name and namespace in other branches
  1. 8 checklistapi.module \checklistapi_help()

Implements hook_help().

File

./checklistapi.module, line 85
An API for creating fillable, persistent checklists.

Code

function checklistapi_help($path, $arg) {
  foreach (checklistapi_get_checklist_info() as $definition) {
    if ($definition['#path'] == $path && !empty($definition['#help'])) {
      return $definition['#help'];
    }
  }
}