You are here

function biblio_help in Bibliography Module 7

Same name and namespace in other branches
  1. 5 biblio.module \biblio_help()
  2. 6.2 biblio.module \biblio_help()
  3. 6 biblio.module \biblio_help()
  4. 7.2 biblio.module \biblio_help()

Implements hook_help().

Throughout Drupal, hook_help() is used to display help text at the top of pages. Some other parts of Drupal pages get explanatory text from these hooks as well. We use it here to provide a description of the module on the module administration page.

File

./biblio.module, line 413
Bibliography Module for Drupal.

Code

function biblio_help($path, $arg) {
  switch ($path) {
    case 'admin/help#biblio':
      return biblio_help_page();
    case 'admin/modules#description':

      // This description is shown in the listing at admin/modules.
      return t('Manages a list of scholarly papers on your site');
    case 'node/add#biblio':

      // This description shows up when users click "create content.".
      return t('This allows you to add a bibliographic entry to the database');
  }
}