You are here

function revisioning_page_manager_override in Revisioning 8

Same name and namespace in other branches
  1. 7 revisioning.module \revisioning_page_manager_override()

Implements hook_page_manager_override().

See http://drupal.org/node/1509674#comment-6702798

File

./revisioning.module, line 1187
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_page_manager_override($task_name) {
  switch ($task_name) {
    case 'node_view':
      return '_revisioning_view';
  }
}