You are here

public function NifConstraint::getMessage in Field NIF 8

Gets the violation message.

Return value

string

File

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

Class

NifConstraint
Checks if field_nif value is valid.

Namespace

Drupal\field_nif\Plugin\Validation\Constraint

Code

public function getMessage() {
  return $this->message;
}