function mail_logger_hook_info in Mail Logger 6
Same name and namespace in other branches
- 7 mail_logger.module \mail_logger_hook_info()
Implementation of hook_hook_info().
File
- ./
mail_logger.module, line 229 - 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.'),
),
),
),
);
}