You are here

public function NifConstraint::validatedBy in Field NIF 8

File

src/Plugin/Validation/Constraint/NifConstraint.php, line 53

Class

NifConstraint
Checks if field_nif value is valid.

Namespace

Drupal\field_nif\Plugin\Validation\Constraint

Code

public function validatedBy() {
  return '\\Drupal\\field_nif\\Plugin\\Validation\\Constraint\\NifValueValidator';
}