You are here

public function EntityUnitTypeInterface::getUnitTypeId in Booking and Availability Management Tools for Drupal 8

Returns the entity's UnitType ID.

Return value

int|null The UnitType bat ID, or NULL in case the UnitType ID field has not been set on the entity.

1 method overrides EntityUnitTypeInterface::getUnitTypeId()
UnitInterface::getUnitTypeId in modules/bat_unit/src/UnitInterface.php
Returns the entity's UnitType ID.

File

modules/bat_unit/src/EntityUnitTypeInterface.php, line 42
Contains \Drupal\bat_unit\EntityUnitTypeInterface.

Class

EntityUnitTypeInterface
Defines a common interface for entities that have a UnitType.

Namespace

Drupal\bat_unit

Code

public function getUnitTypeId();