You are here

function user_rev_diff_menu_alter in User Revision 7.2

Implementation of hook_menu_alter().

File

diff/user_rev_diff.module, line 54
Provides functionality to show a diff between two user revisions.

Code

function user_rev_diff_menu_alter(&$callbacks) {

  // Overwrite the default 'Revisions' page
  $callbacks['user/%user/revisions']['page callback'] = 'user_rev_diff_diffs_overview';
  $callbacks['user/%user/revisions']['module'] = 'user_rev_diff';
  $callbacks['user/%user/revisions']['file'] = 'user_rev_diff.pages.inc';
  return;
}