You are here

public function BookNodeIsRemovableAccessCheck::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/book/src/Access/BookNodeIsRemovableAccessCheck.php \Drupal\book\Access\BookNodeIsRemovableAccessCheck::__construct()

Constructs a BookNodeIsRemovableAccessCheck object.

Parameters

\Drupal\book\BookManagerInterface $book_manager: Book Manager Service.

File

core/modules/book/src/Access/BookNodeIsRemovableAccessCheck.php, line 33
Contains \Drupal\book\Access\BookNodeIsRemovableAccessCheck.

Class

BookNodeIsRemovableAccessCheck
Determines whether the requested node can be removed from its book.

Namespace

Drupal\book\Access

Code

public function __construct(BookManagerInterface $book_manager) {
  $this->bookManager = $book_manager;
}