You are here

public function FieldValidationRuleSet::getPluginCollections in Field Validation 8

Gets the plugin collections used by this object.

Return value

\Drupal\Component\Plugin\LazyPluginCollection[] An array of plugin collections, keyed by the property name they use to store their configuration.

Overrides ObjectWithPluginCollectionInterface::getPluginCollections

File

src/Entity/FieldValidationRuleSet.php, line 159

Class

FieldValidationRuleSet
Defines a field validation rule set configuration entity.

Namespace

Drupal\field_validation\Entity

Code

public function getPluginCollections() {
  return array(
    'field_validation_rules' => $this
      ->getFieldValidationRules(),
  );
}