You are here

public function FieldValidationRuleSet::getAttachedEntityType in Field Validation 8

Returns the entity type of FieldValidationRuleSet.

Return value

string The entity type of the FieldValidationRuleSet.

Overrides FieldValidationRuleSetInterface::getAttachedEntityType

File

src/Entity/FieldValidationRuleSet.php, line 200

Class

FieldValidationRuleSet
Defines a field validation rule set configuration entity.

Namespace

Drupal\field_validation\Entity

Code

public function getAttachedEntityType() {
  return $this
    ->get('entity_type');
}