function mail_logger_rules_condition_mailkey_form in Mail Logger 6
Action drupal message configuration form.
File
- ./
mail_logger.rules.inc, line 35 - Rules integration with Mail Logger.
Code
function mail_logger_rules_condition_mailkey_form($settings, &$form) {
$settings += array(
'mailkey',
);
$options = array();
foreach (_mail_logger_get_mailkey_types() as $type) {
$options[$type] = t('@type', array(
'@type' => t($type),
));
}
$form['settings']['mailkey'] = array(
'#type' => 'select',
'#title' => t('Mailkey type'),
'#default_value' => $settings['mailkey'],
'#description' => t('The mailkey type to match. Note that the allowed values here are based on e-mails already sent.'),
'#options' => $options,
);
}