You are here

public function DeveloperEmailUniqueValidator::__construct in Apigee Edge 8

DeveloperEmailUniqueValidator constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: Entity type manager.

File

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

Class

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

Namespace

Drupal\apigee_edge\Plugin\Validation\Constraint

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {
  $this->entityTypeManager = $entity_type_manager;
}