You are here

function content_lock_admin_paths in Content locking (anti-concurrent editing) 7.3

Same name and namespace in other branches
  1. 7.2 content_lock.module \content_lock_admin_paths()

Implements hook_admin_paths().

Register ajax lock paths as an admin path.

File

./content_lock.module, line 147

Code

function content_lock_admin_paths() {
  $paths = array(
    'ajax/content_lock/*/lock/*' => TRUE,
    'ajax/content_lock/*/canceledit' => TRUE,
  );
  return $paths;
}