You are here

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

Overrides EntityUnitTypeInterface::setUnitTypeId

1 method overrides UnitInterface::setUnitTypeId()
Unit::setUnitTypeId in modules/bat_unit/src/Entity/Unit.php
Sets the entity's UnitType ID.

File

modules/bat_unit/src/UnitInterface.php, line 25
Contains \Drupal\bat_unit\UnitInterface.

Class

UnitInterface
Provides an interface for defining Unit entities.

Namespace

Drupal\bat_unit

Code

public function setUnitTypeId($utid);