You are here

public function OpenlayersMap::id in Openlayers 8.4

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

File

src/Entity/OpenlayersMap.php, line 105

Class

OpenlayersMap
Defines the Openlayers Map entity.

Namespace

Drupal\openlayers\Entity

Code

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