function taxonomy_rules_data_type_info in Rules 6
Implementation of hook_rules_data_type_info().
Related topics
File
- rules/
modules/ taxonomy.rules.inc, line 229 - Rules integration for the taxonomy module.
Code
function taxonomy_rules_data_type_info() {
return array(
'taxonomy_term' => array(
'label' => t('taxonomy term'),
'class' => 'rules_data_type_taxonomy_term',
'savable' => FALSE,
'identifiable' => TRUE,
'module' => 'Taxonomy',
'token type' => 'taxonomy',
),
'taxonomy_vocab' => array(
'label' => t('taxonomy vocabulary'),
'class' => 'rules_data_type_taxonomy_vocab',
'savable' => FALSE,
'identifiable' => TRUE,
'module' => 'Taxonomy',
'token type' => FALSE,
),
);
}