class FieldWidgetConstraint
Same name in other branches
- 9 core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/FieldWidgetConstraint.php \Drupal\entity_test\Plugin\Validation\Constraint\FieldWidgetConstraint
- 8.9.x core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/FieldWidgetConstraint.php \Drupal\entity_test\Plugin\Validation\Constraint\FieldWidgetConstraint
- 11.x core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/FieldWidgetConstraint.php \Drupal\entity_test\Plugin\Validation\Constraint\FieldWidgetConstraint
Supports validating widget constraints.
Hierarchy
- class \Drupal\entity_test\Plugin\Validation\Constraint\FieldWidgetConstraint extends \Symfony\Component\Validator\Constraint
Expanded class hierarchy of FieldWidgetConstraint
1 string reference to 'FieldWidgetConstraint'
- EntityTestConstraintViolation::baseFieldDefinitions in core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestConstraintViolation.php
File
-
core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Validation/ Constraint/ FieldWidgetConstraint.php, line 12
Namespace
Drupal\entity_test\Plugin\Validation\ConstraintView source
class FieldWidgetConstraint extends SymfonyConstraint {
public $message = 'Widget constraint has failed.';
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
FieldWidgetConstraint::$message | public | property |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.