You are here

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

1 call to EventSeriesType::id()
EventSeriesType::save in modules/bat_event_series/src/Entity/EventSeriesType.php
Saves an entity permanently.

File

modules/bat_event_series/src/Entity/EventSeriesType.php, line 83
Contains \Drupal\bat_event_series\Entity\EventSeriesType.

Class

EventSeriesType
Defines the Event series type configuration entity.

Namespace

Drupal\bat_event_series\Entity

Code

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