TaxonomyTermHierarchyConstraint::$message
Same name in other branches
- 8.9.x core/modules/taxonomy/src/Plugin/Validation/Constraint/TaxonomyTermHierarchyConstraint.php \Drupal\taxonomy\Plugin\Validation\Constraint\TaxonomyTermHierarchyConstraint::message
- 10 core/modules/taxonomy/src/Plugin/Validation/Constraint/TaxonomyTermHierarchyConstraint.php \Drupal\taxonomy\Plugin\Validation\Constraint\TaxonomyTermHierarchyConstraint::message
- 11.x core/modules/taxonomy/src/Plugin/Validation/Constraint/TaxonomyTermHierarchyConstraint.php \Drupal\taxonomy\Plugin\Validation\Constraint\TaxonomyTermHierarchyConstraint::message
The default violation message.
Type: string
File
-
core/
modules/ taxonomy/ src/ Plugin/ Validation/ Constraint/ TaxonomyTermHierarchyConstraint.php, line 22
Class
- TaxonomyTermHierarchyConstraint
- Validation constraint for changing the term hierarchy in pending revisions.
Namespace
Drupal\taxonomy\Plugin\Validation\ConstraintCode
public $message = 'You can only change the hierarchy for the <em>published</em> version of this term.';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.