function _book_outline_access

7.x book.module _book_outline_access($node)
6.x book.module _book_outline_access($node)

Access callback: Determines if the outline tab is accessible.

Parameters

$node: The node whose outline tab is to be viewed.

1 call to _book_outline_access()
_book_outline_remove_access in drupal-7.x/modules/book/book.module
Access callback: Determines if the user can remove nodes from the outline.
1 string reference to '_book_outline_access'
book_menu in drupal-7.x/modules/book/book.module
Implements hook_menu().

File

drupal-7.x/modules/book/book.module, line 203
Allows users to create and organize related content in an outline.

Code

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