_book_outline_access

Versions
6 – 7
_book_outline_access($node)

Menu item access callback - determine if the outline tab is accessible.

▾ 1 function calls _book_outline_access()

_book_outline_remove_access in modules/book/book.module
Menu item access callback - determine if the user can remove nodes from the outline.

Code

modules/book/book.module, line 151

<?php
function _book_outline_access($node) {
  return user_access('administer book outlines') && node_access('view', $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.