maillog.module 907 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * @file
  4. * Utility to log all Mails for debugging purposes.
  5. */
  6. use Drupal\Core\Routing\RouteMatchInterface;
  7. /**
  8. * Implements hook_help().
  9. */
  10. function maillog_help($route_name, RouteMatchInterface $route_match) {
  11. switch ($route_name) {
  12. case 'help.page.maillog':
  13. $output = '';
  14. $output .= '<h3>' . t('About') . '</h3>';
  15. $output .= '<p>' . t('Maillog module provides an opportunity to save the mail log for debugging purposes.') . '</p>';
  16. $output .= '<h3>' . t('Uses') . '</h3>';
  17. $output .= '<dl>';
  18. $output .= '<dt>' . t('Saves the mail log') . '</dt>';
  19. $output .= '<dt>' . t('View integration') . '</dt>';
  20. $output .= '<dt>' . t('Displays verbose output of the mail for users with permission "view maillog"') . '</dt>';
  21. $output .= '<dt>' . t('Suppress email delivery') . '</dt>';
  22. $output .= '</dl>';
  23. return $output;
  24. }
  25. }