You are here

function agenda_help in Agenda 6

Same name and namespace in other branches
  1. 6.2 agenda.module \agenda_help()

Implementation of hook_help().

File

./agenda.module, line 12

Code

function agenda_help($path, $arg) {
  $output = '';

  //declare your output variable
  switch ($path) {
    case 'admin/help#agenda':
      $output = '<p>' . t('Displays an agenda of events from a google calendar') . '</p>';
      break;
    case 'admin/settings/agenda/debug':
      $output = '<p>' . t('The agenda block will not show when there are no applicable events to display. If the block is not showing, and you think it should, this page may help you debug the situation.') . '</p>';
      break;
    case 'admin/build/block/agenda':
      $output = '<p>' . t('Allows the creation of an agenda block.') . '</p>';
      break;
  }
  return $output;
}