function BookOutlineConstraintValidator::__construct
Same name in other branches
- 9 core/modules/book/src/Plugin/Validation/Constraint/BookOutlineConstraintValidator.php \Drupal\book\Plugin\Validation\Constraint\BookOutlineConstraintValidator::__construct()
- 8.9.x core/modules/book/src/Plugin/Validation/Constraint/BookOutlineConstraintValidator.php \Drupal\book\Plugin\Validation\Constraint\BookOutlineConstraintValidator::__construct()
- 10 core/modules/book/src/Plugin/Validation/Constraint/BookOutlineConstraintValidator.php \Drupal\book\Plugin\Validation\Constraint\BookOutlineConstraintValidator::__construct()
Creates a new BookOutlineConstraintValidator instance.
Parameters
\Drupal\book\BookManagerInterface $book_manager: The book manager.
File
-
core/
modules/ book/ src/ Plugin/ Validation/ Constraint/ BookOutlineConstraintValidator.php, line 29
Class
- BookOutlineConstraintValidator
- Constraint validator for changing the book outline in pending revisions.
Namespace
Drupal\book\Plugin\Validation\ConstraintCode
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.