You are here

function book_access_permissions_form_access in Book access 6

Determines when the book access tab can be shown in the node edit page.

See also

book_access_menu()

1 string reference to 'book_access_permissions_form_access'
book_access_menu in ./book_access.module
Implements hook_menu().

File

./book_access.module, line 354
Allows access control for book nodes on a per book basis. It is based on forum_access.module and tac_lite.module.

Code

function book_access_permissions_form_access($node) {
  $bool = !empty($node->book['bid']) && user_access('administer book access');
  return $bool;
}