function twilio_rules_condition_info in Twilio 7
Implements hook_rules_condition_info().
File
- ./
twilio.rules.inc, line 95 - Rules module integration
Code
function twilio_rules_condition_info() {
return array(
'twilio_rules_condition_number_belongs_to_user' => array(
'label' => t('Number belongs to a valid user'),
'arguments' => array(
'number' => array(
'type' => 'text',
'label' => t('Phone Number'),
),
),
'group' => t('Twilio'),
'module' => 'twilio',
),
'twilio_rules_condition_user_has_verified_number' => array(
'label' => t('User has a verified number'),
'arguments' => array(
'account' => array(
'type' => 'user',
'label' => t('User'),
),
),
'group' => t('Twilio'),
'module' => 'twilio',
),
);
}