You are here

public static function DeveloperEmailUniqueValidator::whitelist in Apigee Edge 8

Whitelist email address for validation.

Parameters

string $email: Email address to whitelist.

3 calls to DeveloperEmailUniqueValidator::whitelist()
apigee_edge_form_user_form_developer_email_validate in ./apigee_edge.module
Validates whether the provided email address is already taken on Apigee Edge.
apigee_edge_form_user_register_form_developer_email_validate in ./apigee_edge.module
Validates whether the provided email address is already taken on Apigee Edge.
UserDeveloperConverter::convertDeveloper in src/UserDeveloperConverter.php
Converts a developer entity to a Drupal user entity.

File

src/Plugin/Validation/Constraint/DeveloperEmailUniqueValidator.php, line 96

Class

DeveloperEmailUniqueValidator
Checks if an email address already belongs to a developer on Edge.

Namespace

Drupal\apigee_edge\Plugin\Validation\Constraint

Code

public static function whitelist(string $email) {
  static::$whitelist[] = $email;
}