You are here

public function ConfigSnapshot::id in Config Snapshot 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

File

src/Entity/ConfigSnapshot.php, line 76

Class

ConfigSnapshot
Defines the Config snapshot entity.

Namespace

Drupal\config_snapshot\Entity

Code

public function id() {
  return "{$this->snapshotSet}.{$this->extensionType}.{$this->extensionName}";
}