function webform_rules_rules_condition_info in Webform Rules 6
Same name and namespace in other branches
- 7 webform_rules.rules.inc \webform_rules_rules_condition_info()
Implementation of hook_condition_info().
File
- ./
webform_rules.rules.inc, line 45 - Functions for rules integration.
Code
function webform_rules_rules_condition_info() {
return array(
'webform_rules_condition_webform_id' => array(
'label' => t('Select a webform'),
'arguments' => array(
'form_id' => array(
'type' => 'value',
'label' => t('The form id of the submitted form'),
),
'selected_webform' => array(
'label' => t('Webform'),
'type' => 'string',
),
),
'help' => t('This condition just compares two texts. It returns TRUE, if both texts are equal.'),
'module' => 'Webform',
),
);
}