You are here

public function FieldValidationRuleBase::label in Field Validation 8

Returns the field_validation_rule label.

Return value

string The field_validation_rule label.

Overrides FieldValidationRuleInterface::label

1 call to FieldValidationRuleBase::label()
FieldValidationRuleBase::getSummary in src/FieldValidationRuleBase.php
Returns a render array summarizing the configuration of the field_validation_rule.

File

src/FieldValidationRuleBase.php, line 120

Class

FieldValidationRuleBase
Provides a base class for FieldValidationRule.

Namespace

Drupal\field_validation

Code

public function label() {
  return $this->title;
}