You are here

function node_accessibility_menu_alter in Node Accessibility 7

Implements hook_menu_alter().

File

./node_accessibility.module, line 104
Module file for the node accessibility project.

Code

function node_accessibility_menu_alter(&$items) {

  // provide a failsafe way to prevent menu override conflicts
  $alter_menu = variable_get('node_accessibility_alter_revision_menu', TRUE);
  if ($alter_menu) {
    $items['node/%node/revisions']['page callback'] = 'node_accessibility_revision_overview';
  }
}