You are here

public function TypeGroupBundle::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

src/Entity/TypeGroupBundle.php, line 70
Contains \Drupal\bat\Entity\TypeGroupBundle.

Class

TypeGroupBundle
Defines the Type Group Bundle configuration entity.

Namespace

Drupal\bat\Entity

Code

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