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