Same name and namespace in other branches
  1. 4.6.x modules/book.module \book_perm()
  2. 5.x modules/book/book.module \book_perm()
  3. 6.x modules/book/book.module \book_perm()

Implementation of hook_perm().

File

modules/book.module, line 18
Allows users to collaboratively author a book.

Code

function book_perm() {
  return array(
    'outline posts in books',
    'create book pages',
    'create new books',
    'edit book pages',
    'edit own book pages',
    'see printer-friendly version',
  );
}