You are here

function mail_logger_hook_info in Mail Logger 7

Same name and namespace in other branches
  1. 6 mail_logger.module \mail_logger_hook_info()

Implements hook_hook_info().

File

./mail_logger.module, line 174
Mail Logger module logs all outgoing mail that passes through the drupal_mail function.

Code

function mail_logger_hook_info() {

  // This exposes the new 'mail_logger' trigger.
  // @see http://drupal.org/node/375833.
  return array(
    'mail_logger' => array(
      'mail_logger' => array(
        'mail_sent' => array(
          'runs when' => t('An e-mail has been sent and logged.'),
        ),
      ),
    ),
  );
}