function _book_outline_remove_access

Same name and namespace in other branches
  1. 7.x drupal-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 drupal-6.x/modules/book/book.module
Implementation of hook_menu().

Archivo

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

Código

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