function revisioning_rules_condition_info in Revisioning 6.3
Same name and namespace in other branches
- 8 revisioning.rules.inc \revisioning_rules_condition_info()
- 6.4 revisioning.rules.inc \revisioning_rules_condition_info()
- 7 revisioning.rules.inc \revisioning_rules_condition_info()
File
- ./
revisioning.rules.inc, line 14 - Rules integration for Revisioning module.
Code
function revisioning_rules_condition_info() {
return array(
'revisioning_node_has_pending' => array(
'label' => t('Content has pending revision'),
'arguments' => array(
'node' => array(
'type' => 'node',
'label' => t('Content'),
),
),
'help' => t('Evaluates to TRUE, if the node has one or more pending revisions.'),
'module' => 'Revisioning',
),
'revisioning_condition_revision_is' => array(
'label' => t('Content revision is'),
'arguments' => array(
'node' => array(
'type' => 'node',
'label' => t('Content'),
),
),
'help' => t('Evaluates to TRUE, if the revision is in one of the selected states.'),
'module' => 'Revisioning',
),
);
}