function book_permission in Drupal 7
Implements hook_permission().
File
- modules/
book/ book.module, line 68 - Allows users to create and organize related content in an outline.
Code
function book_permission() {
return array(
'administer book outlines' => array(
'title' => t('Administer book outlines'),
),
'create new books' => array(
'title' => t('Create new books'),
),
'add content to books' => array(
'title' => t('Add content and child pages to books'),
),
'access printer-friendly version' => array(
'title' => t('View printer-friendly books'),
'description' => t('View a book page and all of its sub-pages as a single document for ease of printing. Can be performance heavy.'),
),
);
}