You are here

public function FieldValidationRuleInterface::setFieldName in Field Validation 8

Sets the field name for this field_validation_rule.

Parameters

int $field_name: The field name for this field_validation_rule.

Return value

$this

1 method overrides FieldValidationRuleInterface::setFieldName()
FieldValidationRuleBase::setFieldName in src/FieldValidationRuleBase.php
Sets the field name for this field_validation_rule.

File

src/FieldValidationRuleInterface.php, line 122

Class

FieldValidationRuleInterface
Defines the interface for Field Validation.

Namespace

Drupal\field_validation

Code

public function setFieldName($field_name);