class CasProtectedUserFieldConstraint in CAS 8
Same name and namespace in other branches
- 2.x src/Plugin/Validation/Constraint/CasProtectedUserFieldConstraint.php \Drupal\cas\Plugin\Validation\Constraint\CasProtectedUserFieldConstraint
Checks if the plain text password is provided for editing a protected field.
Plugin annotation
@Constraint(
id = "CasProtectedUserField",
label = @Translation("Password required for protected field change", context = "Validation")
)
Hierarchy
- class \Drupal\user\Plugin\Validation\Constraint\ProtectedUserFieldConstraint extends \Symfony\Component\Validator\Constraint
- class \Drupal\cas\Plugin\Validation\Constraint\CasProtectedUserFieldConstraint
Expanded class hierarchy of CasProtectedUserFieldConstraint
File
- src/
Plugin/ Validation/ Constraint/ CasProtectedUserFieldConstraint.php, line 15
Namespace
Drupal\cas\Plugin\Validation\ConstraintView source
class CasProtectedUserFieldConstraint extends ProtectedUserFieldConstraint {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ProtectedUserFieldConstraint:: |
public | property | Violation message. |