You are here

CasProtectedUserFieldConstraint.php in CAS 2.x

File

src/Plugin/Validation/Constraint/CasProtectedUserFieldConstraint.php
View source
<?php

namespace Drupal\cas\Plugin\Validation\Constraint;

use Drupal\user\Plugin\Validation\Constraint\ProtectedUserFieldConstraint;

/**
 * Checks if the plain text password is provided for editing a protected field.
 *
 * @Constraint(
 *   id = "CasProtectedUserField",
 *   label = @Translation("Password required for protected field change", context = "Validation")
 * )
 */
class CasProtectedUserFieldConstraint extends ProtectedUserFieldConstraint {

}

Classes

Namesort descending Description
CasProtectedUserFieldConstraint Checks if the plain text password is provided for editing a protected field.