function BookNodeIsRemovableAccessCheck::__construct
Same name in other branches
- 8.9.x core/modules/book/src/Access/BookNodeIsRemovableAccessCheck.php \Drupal\book\Access\BookNodeIsRemovableAccessCheck::__construct()
- 10 core/modules/book/src/Access/BookNodeIsRemovableAccessCheck.php \Drupal\book\Access\BookNodeIsRemovableAccessCheck::__construct()
- 11.x 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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.