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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | state_machine-get_active_revision-1683718-1.patch | 1.97 KB | kbentham |
Comments
Comment #1
kbentham commentedAdd functions for getting current revision of a node. Used with patch of Workbench Moderation http://drupal.org/node/1679448
Comment #2
stevectorComment #3
stevectorThis looks good. I added some more comments before committing.
http://drupalcode.org/project/state_machine.git/commitdiff/08fb76d3e51da...