You are here

public function FieldValidationRuleBase::setColumn in Field Validation 8

Sets the column for this field_validation_rule.

Parameters

int $column: The column for this field_validation_rule.

Return value

$this

Overrides FieldValidationRuleInterface::setColumn

File

src/FieldValidationRuleBase.php, line 251

Class

FieldValidationRuleBase
Provides a base class for FieldValidationRule.

Namespace

Drupal\field_validation

Code

public function setColumn($column) {
  $this->column = $column;
  return $this;
}