You are here

function content_lock_perm in Content locking (anti-concurrent editing) 6

Same name and namespace in other branches
  1. 6.2 content_lock.module \content_lock_perm()

Implementation of hook_perm().

File

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

Code

function content_lock_perm() {
  return array(
    'check out documents',
    'keep documents checked out',
    'administer checked out documents',
  );
}