public function EntityUnitTypeInterface::setUnitTypeId in Booking and Availability Management Tools for Drupal 8
Sets the entity's UnitType ID.
Parameters
int $utid: The UnitType entity id.
Return value
$this
1 method overrides EntityUnitTypeInterface::setUnitTypeId()
- UnitInterface::setUnitTypeId in modules/
bat_unit/ src/ UnitInterface.php - Sets the entity's UnitType ID.
File
- modules/
bat_unit/ src/ EntityUnitTypeInterface.php, line 52 - Contains \Drupal\bat_unit\EntityUnitTypeInterface.
Class
- EntityUnitTypeInterface
- Defines a common interface for entities that have a UnitType.
Namespace
Drupal\bat_unitCode
public function setUnitTypeId($utid);