function _book_outline_access

Same name and namespace in other branches
  1. 7.x drupal-7.x/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 drupal-6.x/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 drupal-6.x/modules/book/book.module
Implementation of hook_menu().

Archivo

drupal-6.x/modules/book/book.module, line 151
Allows users to structure the pages of a site in a hierarchy or outline.

Código

function _book_outline_access($node) {
  return user_access('administer book outlines') && node_access('view', $node);
}