public function FieldValidationRuleBase::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.
Overrides FieldValidationRuleInterface::getWeight
1 call to FieldValidationRuleBase::getWeight()
- FieldValidationRuleBase::getConfiguration in src/
FieldValidationRuleBase.php - Gets this plugin's configuration.
File
- src/
FieldValidationRuleBase.php, line 142
Class
- FieldValidationRuleBase
- Provides a base class for FieldValidationRule.
Namespace
Drupal\field_validationCode
public function getWeight() {
return $this->weight;
}