You are here

function book_access_outline_remove_access in Book access 6

Same name and namespace in other branches
  1. 6.2 book_access.module \book_access_outline_remove_access()

Determines if the user can remove nodes from the outline.

See also

book_access_menu_alter()

1 string reference to 'book_access_outline_remove_access'
book_access_menu_alter in ./book_access.module
Implements hook_menu_alter().

File

./book_access.module, line 339
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_outline_remove_access($node) {
  $bool = !empty($node->book['bid']) && $node->book['bid'] != $node->nid && book_access_outline_access($node);
  return $bool;
}