You are here

function hook_node_registration_email_TYPE_alter in Node registration 7

Implements hook_node_registration_email_TYPE_alter().

You should instead use the normal mail alter: hook_mail_alter()!

TYPE is the alter type passed into node_registration_send_broadcast() via $options['alter']. This (and the previous) alter will only trigger if an alter type was given.

File

./node_registration.api.php, line 143

Code

function hook_node_registration_email_TYPE_alter($type, &$options, $context) {
  $node = $context['node'];
  $registration = $context['registration'];
}