public function FieldValidationRuleBase::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.
Overrides FieldValidationRuleInterface::getErrorMessage
1 call to FieldValidationRuleBase::getErrorMessage()
- FieldValidationRuleBase::getConfiguration in src/
FieldValidationRuleBase.php - Gets this plugin's configuration.
File
- src/
FieldValidationRuleBase.php, line 262
Class
- FieldValidationRuleBase
- Provides a base class for FieldValidationRule.
Namespace
Drupal\field_validationCode
public function getErrorMessage() {
return $this->error_message;
}