class BookOutlineConstraint

Same name in other branches
  1. 9 core/modules/book/src/Plugin/Validation/Constraint/BookOutlineConstraint.php \Drupal\book\Plugin\Validation\Constraint\BookOutlineConstraint
  2. 8.9.x core/modules/book/src/Plugin/Validation/Constraint/BookOutlineConstraint.php \Drupal\book\Plugin\Validation\Constraint\BookOutlineConstraint
  3. 11.x 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\Constraint
View 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.