You are here

help.inc in SignatureField 7.2

Same filename and directory in other branches
  1. 7 includes/help.inc

Help module integration.

File

includes/help.inc
View source
<?php

/**
 * @file
 * Help module integration.
 */

/**
 * Implements hook_help().
 */
function signaturefield_help($path, $arg) {
  switch ($path) {
    case 'admin/help#signaturefield':
      $output = file_get_contents(drupal_get_path('module', 'signaturefield') . '/README.txt');
      return module_exists('markdown') ? filter_xss_admin(module_invoke('markdown', 'filter', 'process', 0, -1, $output)) : '<pre>' . check_plain($output) . '</pre>';
  }
}

Functions

Namesort descending Description
signaturefield_help Implements hook_help().