LinkTitleRequiredConstraint::$message
Same name and namespace in other branches
- 11.x core/modules/link/src/Plugin/Validation/Constraint/LinkTitleRequiredConstraint.php \Drupal\link\Plugin\Validation\Constraint\LinkTitleRequiredConstraint::message
The error message.
Type: string
File
-
core/
modules/ link/ src/ Plugin/ Validation/ Constraint/ LinkTitleRequiredConstraint.php, line 25
Class
- LinkTitleRequiredConstraint
- Validation constraint for link title subfields if a URL was entered.
Namespace
Drupal\link\Plugin\Validation\ConstraintCode
public $message = "The Link text field is required if there is URL input.";
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.