You are here

public function FieldValidationRuleInterface::getWeight in Field Validation 8

Returns the weight of the field_validation_rule.

Return value

int|string Either the integer weight of the field_validation_rule, or an empty string.

1 method overrides FieldValidationRuleInterface::getWeight()
FieldValidationRuleBase::getWeight in src/FieldValidationRuleBase.php
Returns the weight of the field_validation_rule.

File

src/FieldValidationRuleInterface.php, line 76

Class

FieldValidationRuleInterface
Defines the interface for Field Validation.

Namespace

Drupal\field_validation

Code

public function getWeight();