You are here

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

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

Implements hook_admin_paths().

Register ajax lock path as an admin path.

File

./content_lock.module, line 108
Allows users to lock documents for modification.

Code

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