class ContactEmailUnique in RedHen CRM 8
Checks if a Contact's email address is unique on the site.
Plugin annotation
@Constraint(
id = "ContactEmailUnique",
label = @Translation("Contact email unique", context = "Validation")
)
Hierarchy
- class \Drupal\redhen_contact\Plugin\Validation\Constraint\ContactEmailUnique extends \Symfony\Component\Validator\Constraint
Expanded class hierarchy of ContactEmailUnique
File
- modules/
redhen_contact/ src/ Plugin/ Validation/ Constraint/ ContactEmailUnique.php, line 15
Namespace
Drupal\redhen_contact\Plugin\Validation\ConstraintView source
class ContactEmailUnique extends Constraint {
public $message = 'The email address %value is already taken.';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ContactEmailUnique:: |
public | property |