Same name and namespace in other branches
  1. 7.x modules/book/book.module \_book_outline_remove_access()

Menu item access callback - determine if the user can remove nodes from the outline.

1 string reference to '_book_outline_remove_access'
book_menu in modules/book/book.module
Implementation of hook_menu().

File

modules/book/book.module, line 158
Allows users to structure the pages of a site in a hierarchy or outline.

Code

function _book_outline_remove_access($node) {
  return isset($node->book) && $node->book['bid'] != $node->nid && _book_outline_access($node);
}