You are here

public function FieldValidationRuleBase::setTitle in Field Validation 8

Sets the title for this field_validation_rule.

Parameters

int $title: The title for this field_validation_rule.

Return value

$this

Overrides FieldValidationRuleInterface::setTitle

File

src/FieldValidationRuleBase.php, line 149

Class

FieldValidationRuleBase
Provides a base class for FieldValidationRule.

Namespace

Drupal\field_validation

Code

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