function community_tags_rules_rules_condition_info in Community Tags 6.2
Implementation of hook_rules_condition_info().
File
- community_tags_rules/
community_tags_rules.rules.inc, line 78 - community_tags_rules.rules.inc
Code
function community_tags_rules_rules_condition_info() {
return array(
'community_tags_condition_is_first_tag' => array(
'label' => t('Test if first tag of node with term'),
'arguments' => array(
'ctag' => array(
'type' => 'community_tag',
'label' => t('Community tag'),
),
),
'module' => 'Community Tags',
),
'community_tags_condition_tagger_is_author' => array(
'label' => t('Test if the user tagging is also the node author'),
'arguments' => array(
'node' => array(
'type' => 'node',
'label' => t('Node being tagged'),
),
'user' => array(
'type' => 'user',
'label' => t('User doing the tagging'),
),
),
'module' => 'Community Tags',
),
);
}