_book_outline_remove_access

Versions
6 – 7
_book_outline_remove_access($node)

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

Code

modules/book/book.module, line 158

<?php
function _book_outline_remove_access($node) {
  return isset($node->book) && ($node->book['bid'] != $node->nid) && _book_outline_access($node);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.