function BookOutlineConstraintValidator::create
Same name in other branches
- 9 core/modules/book/src/Plugin/Validation/Constraint/BookOutlineConstraintValidator.php \Drupal\book\Plugin\Validation\Constraint\BookOutlineConstraintValidator::create()
- 10 core/modules/book/src/Plugin/Validation/Constraint/BookOutlineConstraintValidator.php \Drupal\book\Plugin\Validation\Constraint\BookOutlineConstraintValidator::create()
- 11.x core/modules/book/src/Plugin/Validation/Constraint/BookOutlineConstraintValidator.php \Drupal\book\Plugin\Validation\Constraint\BookOutlineConstraintValidator::create()
Overrides ContainerInjectionInterface::create
File
-
core/
modules/ book/ src/ Plugin/ Validation/ Constraint/ BookOutlineConstraintValidator.php, line 36
Class
- BookOutlineConstraintValidator
- Constraint validator for changing the book outline in pending revisions.
Namespace
Drupal\book\Plugin\Validation\ConstraintCode
public static function create(ContainerInterface $container) {
return new static($container->get('book.manager'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.