You are here

function freelinking_help in Freelinking 7.3

Same name and namespace in other branches
  1. 8.3 freelinking.module \freelinking_help()
  2. 4.0.x freelinking.module \freelinking_help()

Implements hook_help().

File

./freelinking.module, line 13

Code

function freelinking_help($path, $arg) {
  if ($path == 'admin/help#freelinking') {
    $output = '<p>' . t('This module is a filter to turn wiki-style links into HTML links.') . '</p>';
    if (function_exists('advanced_help_hint_docs')) {
      $output .= '<p>' . advanced_help_hint_docs('freelinking', 'https://www.drupal.org/docs/7/modules/freelinking', TRUE) . '</p>';
    }
    else {
      $output .= t('If you install and enable the module <strong>!url</strong>, you will get more help for <strong>Freelinking</strong>.', array(
        '!url' => l('Advanced help hint', 'https://www.drupal.org/project/advanced_help_hint'),
      ));
    }
    return $output;
  }
}