You are here

public function FieldValidationRuleInterface::getErrorMessage in Field Validation 8

Returns the error message of the field_validation_rule.

Return value

string The error message of the field_validation_rule.

1 method overrides FieldValidationRuleInterface::getErrorMessage()
FieldValidationRuleBase::getErrorMessage in src/FieldValidationRuleBase.php
Returns the error message of the field_validation_rule.

File

src/FieldValidationRuleInterface.php, line 148

Class

FieldValidationRuleInterface
Defines the interface for Field Validation.

Namespace

Drupal\field_validation

Code

public function getErrorMessage();