public function TypeBundle::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/ TypeBundle.php, line 71 - Contains \Drupal\bat_unit\Entity\TypeBundle.
Class
- TypeBundle
- Defines the Type Bundle configuration entity.
Namespace
Drupal\bat_unit\EntityCode
public function id() {
return $this->type;
}