public function MandrillTemplateMap::message_send_arguments in Mandrill 7
Generate the arguments that are required for sending templates.
Return value
array An associative array containing message template arguments.
File
- modules/
mandrill_template/ lib/ mandrill_template_map.entity.inc, line 37 - Mandrill Template entity class
Class
- MandrillTemplateMap
- @file Mandrill Template entity class
Code
public function message_send_arguments($message) {
return array(
'id' => $this->template_id,
'template_content' => array(
'0' => array(
'name' => $this->main_section,
'content_postprocess' => 'html',
),
),
);
}