You are here

public function FieldValidationRuleSetInterface::setAttachedBundle in Field Validation 8

Sets the bundle of the FieldValidationRuleSet.

Parameters

string $bundle: The bundle of the FieldValidationRuleSet.

Return value

\Drupal\field_validation\FieldValidationRuleSetInterface The class instance this method is called on.

1 method overrides FieldValidationRuleSetInterface::setAttachedBundle()
FieldValidationRuleSet::setAttachedBundle in src/Entity/FieldValidationRuleSet.php
Sets the bundle of the FieldValidationRuleSet.

File

src/FieldValidationRuleSetInterface.php, line 110

Class

FieldValidationRuleSetInterface
Provides an interface defining a FieldValidationRuleSet entity.

Namespace

Drupal\field_validation

Code

public function setAttachedBundle($bundle);