function message_notify_plugin_process in Message Notify 7.2
Add defaults values to the notifier plugins.
- 'description': The description of the plugin.
- 'options': Array with the following keys:
- 'save on fail': Save the message is delivery failed. Defaults to TRUE.
- 'save on success': Save the message is delivery successded. Defaults to TRUE.
- 'language override': Override user's language, and use the Message's language. Defaults to FALSE.
- 'rendered fields': Array keyed with the view mode(s), and the text field(s) to save the rendered output. The rendered field is used when it is needed to save the message exactly as it was sent (for example for message logs), as it might change and show differently when viewed later - as a result of on the fly token replacement, or even editing the message type.
1 string reference to 'message_notify_plugin_process'
- message_notify_ctools_plugin_type in ./
message_notify.module - Implements hook_ctools_plugin_type().
File
- ./
message_notify.module, line 54 - Message notify.
Code
function message_notify_plugin_process(&$plugin, $info) {
$plugin += array(
'description' => '',
'options' => array(),
);
$plugin['options'] += array(
'save on fail' => TRUE,
'save on success' => TRUE,
'language override' => FALSE,
'rendered fields' => array(),
);
}