You are here

function coder_help in Coder 5

Same name and namespace in other branches
  1. 5.2 coder.module \coder_help()
  2. 6.2 coder.module \coder_help()
  3. 6 coder.module \coder_help()

Implementation of hook_help().

1 call to coder_help()
coder_page in ./coder.module
Implementation of code review page

File

./coder.module, line 21
Developer Module that assists with code review and version upgrade that supports a plug-in extensible hook system so contributed modules can define additional review standards.

Code

function coder_help($section) {
  switch ($section) {
    case 'coder#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',
      ));
    default:
      return;
  }
}