function redhen_contact_rules_condition_info in RedHen CRM 7
Implements hook_rules_condition_info().
File
- modules/
redhen_contact/ includes/ redhen_contact.rules.inc, line 40 - Rules integration for RedHen Contacts.
Code
function redhen_contact_rules_condition_info() {
$conditions = array();
$conditions['redhen_contact_exists_by_email'] = array(
'label' => t('Contact exists by email'),
'base' => 'redhen_contact_rules_condition_exists_by_email',
'group' => t('Redhen Contact'),
'parameter' => array(
'mail' => array(
'type' => 'text',
'label' => t('Email address'),
'description' => t('The email address to check by.'),
),
),
);
return $conditions;
}