You are here

function hook_registration_send_broadcast_ENTITY_TYPE_ID_alter in Entity Registration 8.2

Same name and namespace in other branches
  1. 8 registration.api.php \hook_registration_send_broadcast_ENTITY_TYPE_ID_alter()
  2. 7.2 registration.api.php \hook_registration_send_broadcast_ENTITY_TYPE_ID_alter()
  3. 7 registration.api.php \hook_registration_send_broadcast_ENTITY_TYPE_ID_alter()

Allow modules to alter registration entity settings for a particular entity type and entity ID prior to sending email to all registrants.

This could be used, for example, to allow users to opt-out of broadcast emails.

Parameters

array $registrations:

array $context: array( 'entity_type' => $entity_type, 'entity_id' => $entity_id, );

File

./registration.api.php, line 115
API documentation for Relation module.

Code

function hook_registration_send_broadcast_ENTITY_TYPE_ID_alter(&$registrations, $context) {
}