function _book_outline_access

_book_outline_access($node)

Access callback: Determines if the outline tab is accessible.

Parameters

$node: The node whose outline tab is to be viewed.

File

modules/book/book.module, line 203
Allows users to create and organize related content in an outline.

Code

function _book_outline_access($node) {
  return user_access('administer book outlines') && node_access('view', $node);
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!book!book.module/function/_book_outline_access/7.x