You are here

function revisioning_condition_revision_is in Revisioning 6.4

Same name and namespace in other branches
  1. 8 revisioning.rules.inc \revisioning_condition_revision_is()
  2. 6.3 revisioning.rules.inc \revisioning_condition_revision_is()
  3. 7 revisioning.rules.inc \revisioning_condition_revision_is()

File

./revisioning.rules.inc, line 45
Rules integration for Revisioning module.

Code

function revisioning_condition_revision_is($node, $settings) {
  $type = _revisioning_revision_is($node);
  return in_array($type, $settings['revision_type']);
}