You are here

public function BookingBundle::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_booking/src/Entity/BookingBundle.php, line 61
Contains \Drupal\bat_booking\Entity\BookingBundle.

Class

BookingBundle
Defines the Booking Bundle configuration entity.

Namespace

Drupal\bat_booking\Entity

Code

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