You are here

public function AvatarKitEntityMap::id in Avatar Kit 8.2

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

File

src/Entity/AvatarKitEntityMap.php, line 45

Class

AvatarKitEntityMap
Defines the Avatar Kit field mapping entity.

Namespace

Drupal\avatars\Entity

Code

public function id() {
  return $this->entity_type . '.' . $this->bundle . '.default';
}