function hook_mandrill_mail_alter in Mandrill 7.2
Same name and namespace in other branches
- 7 mandrill.api.php \hook_mandrill_mail_alter()
Allows other modules to alter the Mandrill message and sender arguments.
@array $mandrill_params The mandril message array
@array $message The drupal_mail message array.
See also
2 functions implement hook_mandrill_mail_alter()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- mandrill_template_mandrill_mail_alter in modules/
mandrill_template/ mandrill_template.module - Implements hook_mandrill_mail_alter().
- mandrill_test_mandrill_mail_alter in modules/
mandrill_test/ mandrill_test.module - Implements hook_mandrill_mail_alter().
2 invocations of hook_mandrill_mail_alter()
- MandrillHooksTestCase::testMailAlterHook in tests/
mandrill_hooks.test - Tests implementing hook_mandrill_mail_alter().
- MandrillMailSystem::mail in lib/
mandrill.mail.inc - Send the email message.
File
- ./
mandrill.api.php, line 21 - This file contains no working PHP code; it exists to provide additional documentation for doxygen as well as to document hooks in the standard Drupal manner.
Code
function hook_mandrill_mail_alter(&$mandrill_params, $message) {
// No example.
}