You are here

function coder_review_help in Coder 7

Same name and namespace in other branches
  1. 7.2 coder_review/coder_review.module \coder_review_help()

Implements hook_help().

1 call to coder_review_help()
coder_review_page in coder_review/coder_review.module
Code review page.

File

coder_review/coder_review.module, line 51

Code

function coder_review_help($page, $arg) {
  switch ($page) {
    case 'coder_review#disclaimer':
      return t('Coder provides helpful hints without false positives, but offers no guarantee for creating good code. You are the final arbitrar. If in doubt, read the Drupal documentation (see review links below and <a href="@api">api.drupal.org</a>).', array(
        '@api' => 'http://api.drupal.org',
      ));
    case 'drush:coder_review':
      return t('coder_review [summary] [@reviews] [minor|major|critical] [active|core|all|default|<modules>] [no-<module>]', array(
        '@reviews' => implode('|', array_keys(_coder_review_reviews())),
      ));
  }
}