function hook_sendgrid_integration_unique_args_alter in SendGrid Integration 6
Same name and namespace in other branches
- 8.2 sendgrid_integration.api.php \hook_sendgrid_integration_unique_args_alter()
- 8 sendgrid_integration.api.php \hook_sendgrid_integration_unique_args_alter()
- 7 sendgrid_integration.api.php \hook_sendgrid_integration_unique_args_alter()
This hook is invoked before mail is sent, allowing modification of unique_args.
Parameters
array $unique_args: Unique arguments.
Return value
array Returned array will be used as unique arguments.
File
- ./
sendgrid_integration.api.php, line 47 - Hooks provided by SendGrid Integration module
Code
function hook_sendgrid_integration_unique_args_alter($unique_args) {
$unique_args['time'] = time();
return $unique_args;
}