public function BookNodeIsRemovableAccessCheck::__construct in Drupal 9
Same name and namespace in other branches
- 8 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 28
Class
- BookNodeIsRemovableAccessCheck
- Determines whether the requested node can be removed from its book.
Namespace
Drupal\book\AccessCode
public function __construct(BookManagerInterface $book_manager) {
$this->bookManager = $book_manager;
}