You are here

function revisioning_admin_paths in Revisioning 7

Implements hook_admin_paths().

File

./revisioning.module, line 362
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_admin_paths() {
  return array(
    'node/*/unpublish-current' => TRUE,
    'node/*/revisions/list' => TRUE,
    'node/*/revisions/delete-archived' => TRUE,
    'node/*/revisions/*/edit' => TRUE,
    'node/*/revisions/*/publish' => TRUE,
    'node/*/revisions/*/unpublish' => TRUE,
    'node/*/revisions/*/revert' => TRUE,
    'node/*/revisions/*/delete' => TRUE,
    'node/*/revisions/*/compare' => TRUE,
  );
}