You are here

public function FieldValidationRuleSet::getAttachedBundle in Field Validation 8

Returns the bundle of FieldValidationRuleSet.

Return value

string The bundle of the FieldValidationRuleSet.

Overrides FieldValidationRuleSetInterface::getAttachedBundle

File

src/Entity/FieldValidationRuleSet.php, line 215

Class

FieldValidationRuleSet
Defines a field validation rule set configuration entity.

Namespace

Drupal\field_validation\Entity

Code

public function getAttachedBundle() {
  return $this
    ->get('bundle');
}