function book_access_outline_remove_access in Book access 6.2
Same name and namespace in other branches
- 6 book_access.module \book_access_outline_remove_access()
Determines if the user can remove nodes from the outline.
See also
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 897 - Allows to set the 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;
}