Add state_flow_entity_get_active_revision_id($entity, $entity_type) and function state_flow_entity_get_active_revision($entity, $entity_type) for use with Workbench Moderation Module.

Comments

kbentham’s picture

Status: Active » Patch (to be ported)
StatusFileSize
new1.97 KB

Add functions for getting current revision of a node. Used with patch of Workbench Moderation http://drupal.org/node/1679448

stevector’s picture

Assigned: kbentham » stevector
Status: Patch (to be ported) » Needs review
stevector’s picture

Status: Needs review » Fixed

This looks good. I added some more comments before committing.

http://drupalcode.org/project/state_machine.git/commitdiff/08fb76d3e51da...

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.