You are here

function fillpdf_help in FillPDF 7.2

Same name and namespace in other branches
  1. 8.4 fillpdf.module \fillpdf_help()
  2. 5 fillpdf.module \fillpdf_help()
  3. 6 fillpdf.module \fillpdf_help()
  4. 7 fillpdf.module \fillpdf_help()
  5. 5.0.x fillpdf.module \fillpdf_help()

Implements hook_help().

File

./fillpdf.module, line 14
Allows mappings of PDFs to site content

Code

function fillpdf_help($path, $arg) {
  switch ($path) {
    case 'admin/help#fillpdf':
      $content = t('See the <a href="!documentation">documentation on drupal.org</a> for a full description of and guide to this module.', array(
        '!documentation' => url('http://drupal.org/documentation/modules/fillpdf'),
      ));
      return $content;
    case 'admin/structure/fillpdf':
      if (module_exists('help')) {
        return t('See the !link for an explanation on dowloading these forms to PDF', array(
          '!link' => l(t('documentation'), 'http://drupal.org/documentation/modules/fillpdf'),
        ));
      }
      else {
        return t('Activate the help module if you need an ' . 'explanation on downloading these forms to PDF.');
      }
  }
}