function revisioning_condition_revision_is_label in Revisioning 6.4
Same name and namespace in other branches
- 8 revisioning.rules.inc \revisioning_condition_revision_is_label()
- 6.3 revisioning.rules.inc \revisioning_condition_revision_is_label()
- 7 revisioning.rules.inc \revisioning_condition_revision_is_label()
Label callback for "revisioning_revision_is" condition.
File
- ./
revisioning.rules.inc, line 67 - Rules integration for Revisioning module.
Code
function revisioning_condition_revision_is_label($settings, $argument_labels) {
$names = array_intersect_key(_revisioning_revision_states(), $settings['revision_type']);
return t('Revision status of @node is: @type', $argument_labels + array(
'@type' => implode(' or ', $names),
));
}