public function EntityUnitInterface::setUnitId in Booking and Availability Management Tools for Drupal 8
Sets the entity's Unit ID.
Parameters
int $unit_id: The Unit entity id.
Return value
$this
File
- modules/
bat_unit/ src/ EntityUnitInterface.php, line 50 - Contains \Drupal\bat_unit\EntityUnitInterface.
Class
- EntityUnitInterface
- Defines a common interface for entities that have an associated bat Unit.
Namespace
Drupal\bat_unitCode
public function setUnitId($unit_id);