You are here

public function FieldValidationRuleSet::id in Field Validation 8

Gets the identifier.

Return value

string|int|null The entity identifier, or NULL if the object does not yet have an identifier.

Overrides EntityBase::id

1 call to FieldValidationRuleSet::id()
FieldValidationRuleSet::postSave in src/Entity/FieldValidationRuleSet.php
Acts on a saved entity before the insert or update hook is invoked.

File

src/Entity/FieldValidationRuleSet.php, line 95

Class

FieldValidationRuleSet
Defines a field validation rule set configuration entity.

Namespace

Drupal\field_validation\Entity

Code

public function id() {
  return $this->name;
}