You are here

function mail_logger_rules_condition_info in Mail Logger 6

Implementation of hook_rules_condition_info().

File

./mail_logger.rules.inc, line 11
Rules integration with Mail Logger.

Code

function mail_logger_rules_condition_info() {
  return array(
    'mail_logger_rules_condition_mailkey' => array(
      'label' => t('Match the mail key.'),
      'module' => 'Mail Logger',
      'arguments' => array(
        'message' => array(
          'type' => 'mail',
          'label' => t('The sent mail.'),
        ),
      ),
      'eval input' => array(
        'mailkey',
      ),
    ),
  );
}