1 book.module _book_outline_access(Node $node)

Access callback: Determines if the outline tab is accessible.

Path:

  • admin/content/book/%node
  • node/%node/outline

Parameters

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

See also

book_menu()

File

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

Code

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