You are here

protected function FieldValidationRuleSet::getFieldValidationRulePluginManager in Field Validation 8

Returns the FieldValidationRule plugin manager.

Return value

\Drupal\Component\Plugin\PluginManagerInterface The FieldValidationRule plugin manager.

1 call to FieldValidationRuleSet::getFieldValidationRulePluginManager()
FieldValidationRuleSet::getFieldValidationRules in src/Entity/FieldValidationRuleSet.php
Returns the field_validation_rules for this field_validation_rule_set.

File

src/Entity/FieldValidationRuleSet.php, line 193

Class

FieldValidationRuleSet
Defines a field validation rule set configuration entity.

Namespace

Drupal\field_validation\Entity

Code

protected function getFieldValidationRulePluginManager() {
  return \Drupal::service('plugin.manager.field_validation.field_validation_rule');
}