function taxonomy_rules_condition_info in Rules 6
Implementation of hook_rules_condition_info().
Related topics
File
- rules/
modules/ taxonomy.rules.inc, line 281 - Rules integration for the taxonomy module.
Code
function taxonomy_rules_condition_info() {
return array(
'rules_condition_content_has_term' => array(
'label' => t('Content has term'),
'help' => t('Evaluates to TRUE if the given content has one of the selected terms.'),
'module' => 'Taxonomy',
'arguments' => array(
'node' => array(
'type' => 'node',
'label' => t('Content'),
),
),
),
);
}