You are here

function diff_admin_paths_alter in Diff 7.3

Same name and namespace in other branches
  1. 7.2 diff.module \diff_admin_paths_alter()

Implements hook_admin_paths_alter().

File

./diff.module, line 197
Provides functionality to show a diff between two node revisions.

Code

function diff_admin_paths_alter(&$paths) {

  // By default, treat all diff pages as administrative.
  if (variable_get('diff_admin_path_node', 1)) {
    $paths['node/*/revisions/view/*/*'] = TRUE;
  }
}