You are here

public function UnitBundle::id in Booking and Availability Management Tools for Drupal 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

modules/bat_unit/src/Entity/UnitBundle.php, line 70
Contains \Drupal\bat_unit\Entity\UnitBundle.

Class

UnitBundle
Defines the Unit Bundle configuration entity.

Namespace

Drupal\bat_unit\Entity

Code

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