You are here

function _revisioning_edit_revision in Revisioning 7

Same name and namespace in other branches
  1. 8 revisioning.module \_revisioning_edit_revision()
  2. 6.4 revisioning.module \_revisioning_edit_revision()
  3. 6.3 revisioning.module \_revisioning_edit_revision()

Callback to edit a particular revision.

Note that there is no equivalent of this in core and we should not allow editing of a non-current revision, if $node->revision_moderation is not set. This is the job of the access callback _revisioning_access_node_revision().

1 string reference to '_revisioning_edit_revision'
revisioning_menu in ./revisioning.module
Implements hook_menu().

File

./revisioning.module, line 1173
Allows content to be updated and reviewed before submitting it for publication, while the current live revision remains unchanged and publicly visible until the changes have been reviewed and found fit for publication by a moderator.

Code

function _revisioning_edit_revision($node) {
  _revisioning_set_custom_theme_if_necessary();
  return node_page_edit($node);
}