You are here

function revisioning_ux_menu in Revisioning 8

Same name and namespace in other branches
  1. 7 revisioning_ux/revisioning_ux.module \revisioning_ux_menu()

Implements hook_menu().

File

revisioning_ux/revisioning_ux.module, line 45
Revisioning User Experience Adjustments

Code

function revisioning_ux_menu() {
  $items = array();
  $items['node/%node/revisions/%vid/list'] = array(
    'title' => 'List all revisions',
    'access callback' => '_revisioning_access_node_revision',
    'access arguments' => array(
      'view revision list',
      1,
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => -20,
  );
  return $items;
}