You are here

function sendgrid_integration_help in SendGrid Integration 8

Same name and namespace in other branches
  1. 8.2 sendgrid_integration.module \sendgrid_integration_help()
  2. 7 sendgrid_integration.module \sendgrid_integration_help()

Implements hook_help().

File

./sendgrid_integration.module, line 16
Main module file for SendGrid Integration.

Code

function sendgrid_integration_help($route_name, RouteMatchInterface $route_match) {
  $output = '';
  switch ($route_name) {
    case 'help.page.sendgrid_integration':
      $output .= '<h3>' . \Drupal::translation()
        ->translate('About') . '</h3>';
      $output .= '<p>' . \Drupal::translation()
        ->translate('Module provides own implementation of MailSystemIntegration, replacing the default implementation and uses SendGrid Web API instead.') . '</p>';
  }
  return $output;
}