function _book_outline_access in Drupal 6
Same name and namespace in other branches
- 7 modules/book/book.module \_book_outline_access()
Menu item access callback - determine if the outline tab is accessible.
1 call to _book_outline_access()
- _book_outline_remove_access in modules/
book/ book.module - Menu item access callback - determine if the user can remove nodes from the outline.
1 string reference to '_book_outline_access'
- book_menu in modules/
book/ book.module - Implementation of hook_menu().
File
- modules/
book/ book.module, line 151 - Allows users to structure the pages of a site in a hierarchy or outline.
Code
function _book_outline_access($node) {
return user_access('administer book outlines') && node_access('view', $node);
}