You are here

function mailgun_help in Mailgun 7

Same name and namespace in other branches
  1. 8 mailgun.module \mailgun_help()

Implements hook_help().

File

./mailgun.module, line 94
Provides integration with Mailgun's email sending API.

Code

function mailgun_help($path, $arg) {
  switch ($path) {
    case MAILGUN_ADMIN_PAGE:
      return '<p>' . t('See !link for instructions on installing and configuring Mailgun.', array(
        '!link' => l(t('documentation'), MAILGUN_DOCUMENTATION_LINK),
      )) . '</p>';
    case MAILGUN_ADMIN_PAGE . '/test':
      return '<p>' . t('Use this form to send a test e-mail to ensure you have correctly configured Mailgun.') . '</p>';
  }
}