function _book_outline_remove_access

Access callback: Determines if the user can remove nodes from the outline.

Parameters

Drupal\node\Node $node: The node to remove from the outline.

See also

book_menu()

1 string reference to '_book_outline_remove_access'
book_menu in drupal/core/modules/book/book.module
Implements hook_menu().

File

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

Code

function _book_outline_remove_access(Node $node) {
  return _book_node_is_removable($node) && _book_outline_access($node);
}