You are here

public function FieldValidationRuleSetInterface::getFieldValidationRule in Field Validation 8

Returns a specific FieldValidationRule.

Parameters

string $field_validation_rule: The FieldValidationRule ID.

Return value

\Drupal\field_validation\FieldValidationRuleInterface The FieldValidationRule object.

1 method overrides FieldValidationRuleSetInterface::getFieldValidationRule()
FieldValidationRuleSet::getFieldValidationRule in src/Entity/FieldValidationRuleSet.php
Returns a specific FieldValidationRule.

File

src/FieldValidationRuleSetInterface.php, line 43

Class

FieldValidationRuleSetInterface
Provides an interface defining a FieldValidationRuleSet entity.

Namespace

Drupal\field_validation

Code

public function getFieldValidationRule($field_validation_rule);