class BookOutlineConstraint
Same name in other branches
- 9 core/modules/book/src/Plugin/Validation/Constraint/BookOutlineConstraint.php \Drupal\book\Plugin\Validation\Constraint\BookOutlineConstraint
- 8.9.x core/modules/book/src/Plugin/Validation/Constraint/BookOutlineConstraint.php \Drupal\book\Plugin\Validation\Constraint\BookOutlineConstraint
- 10 core/modules/book/src/Plugin/Validation/Constraint/BookOutlineConstraint.php \Drupal\book\Plugin\Validation\Constraint\BookOutlineConstraint
Validation constraint for changing the book outline in pending revisions.
Hierarchy
- class \Drupal\book\Plugin\Validation\Constraint\BookOutlineConstraint extends \Symfony\Component\Validator\Constraint
Expanded class hierarchy of BookOutlineConstraint
File
-
core/
modules/ book/ src/ Plugin/ Validation/ Constraint/ BookOutlineConstraint.php, line 12
Namespace
Drupal\book\Plugin\Validation\ConstraintView source
class BookOutlineConstraint extends SymfonyConstraint {
public $message = 'You can only change the book outline for the <em>published</em> version of this content.';
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
BookOutlineConstraint::$message | public | property |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.