You are here

public function EckEntityBundle::id in Entity Construction Kit (ECK) 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 EckEntityBundle::id()
EckEntityBundle::postSave in src/Entity/EckEntityBundle.php
Acts on a saved entity before the insert or update hook is invoked.

File

src/Entity/EckEntityBundle.php, line 62

Class

EckEntityBundle
Defines the ECK entity bundle configuration entity.

Namespace

Drupal\eck\Entity

Code

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