function _book_outline_access

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 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 modules/book/book.module
Implements hook_menu().

File

modules/book/book.module, line 203

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.