You are here

public function MachineNameUniqueConstraint::validatedBy in Machine name 8

File

src/Plugin/Validation/Constraint/MachineNameUniqueConstraint.php, line 22

Class

MachineNameUniqueConstraint
Checks if an entity field has a unique value.

Namespace

Drupal\machine_name\Plugin\Validation\Constraint

Code

public function validatedBy() {
  return '\\Drupal\\machine_name\\Plugin\\Validation\\Constraint\\MachineNameUniqueValidator';
}