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

Implementation of hook_perm().

File

modules/book/book.module, line 41
Allows users to structure the pages of a site in a hierarchy or outline.

Code

function book_perm() {
  return array(
    'add content to books',
    'administer book outlines',
    'create new books',
    'access printer-friendly version',
  );
}