function privatemsg_rules_rules_condition_info in Privatemsg 6.2
Same name and namespace in other branches
- 7.2 privatemsg_rules/privatemsg_rules.rules.inc \privatemsg_rules_rules_condition_info()
- 7 privatemsg_rules/privatemsg_rules.rules.inc \privatemsg_rules_rules_condition_info()
Implements hook_rules_condition_info().
File
- privatemsg_rules/
privatemsg_rules.rules.inc, line 83 - Hooks and callback functions for rules.module integration.
Code
function privatemsg_rules_rules_condition_info() {
return array(
'privatemsg_rules_thread_has_tag' => array(
'label' => t('Thread has tag'),
'arguments' => array(
'thread_id' => array(
'type' => 'int',
'label' => t('Thread to check for the tag'),
),
'user' => array(
'type' => 'user',
'label' => t('For which user to check'),
),
),
'module' => 'Privatemsg',
'eval input' => array(
'tag',
),
),
);
}