You are here

function revisioning_rules_action_publish_latest in Revisioning 8

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

Action: publish most recent pending revision.

File

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

Code

function revisioning_rules_action_publish_latest($node) {
  _revisioning_publish_latest_revision($node);
}