function book_permission
Implements hook_permission().
File
-
modules/
book/ book.module, line 68
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.'),
),
);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.